Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Modified fake_data to use new slugize.
Browse files Browse the repository at this point in the history
  • Loading branch information
aandis committed Mar 10, 2016
1 parent cf809d3 commit 8fa155e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gratipay/utils/fake_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from gratipay import wireup, MAX_TIP, MIN_TIP
from gratipay.elsewhere import PLATFORMS
from gratipay.models.participant import Participant
from gratipay.models.team import Team
from gratipay.models.team import slugize, Team
from gratipay.models import community
from gratipay.models import check_db

Expand Down Expand Up @@ -82,8 +82,7 @@ def fake_team(db, teamowner):
teamslugname = faker.city()

try:
#using community.slugize
teamslug = community.slugize(teamslugname)
teamslug = slugize(teamslugname)
homepage = 'http://www.example.org/' + fake_text_id(3)
_fake_thing( db
, "teams"
Expand Down

0 comments on commit 8fa155e

Please sign in to comment.