Merge branch 'master' of github.com:Gluejar/regluit into ry

pull/1/head
Raymond Yee 2012-05-02 16:53:32 -07:00
commit 4b7c11b13b
1 changed files with 3 additions and 3 deletions

View File

@ -28,9 +28,9 @@ class Command(BaseCommand):
campaign.paypal_receiver = settings.PAYPAL_TEST_RH_EMAIL
# random deadline between 5 days from now and 180 days from now
now = now()
campaign.deadline = random_date(now + timedelta(days=5),
now + timedelta(days=180))
_now = now()
campaign.deadline = random_date(_now + timedelta(days=5),
_now + timedelta(days=180))
# randomly activate some of the campaigns
coinflip = D(randint(0,10))