Browse files

Use _type instead of type in feedback cron

  • Loading branch information...
1 parent 0e02e47 commit e1d1885618d28983d1b44847ef922694e02f2c0a @tofumatt tofumatt committed Jun 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/feedback/cron.py
View
2 apps/feedback/cron.py
@@ -71,7 +71,7 @@ def populate(num_opinions=None, product='mobile', type=None, locale=None):
for i in xrange(num_opinions):
if not type:
type = random.choice(TYPES).id
- o = Opinion(type=type,
+ o = Opinion(_type=type,
url=random.choice(URLS),
locale=locale or random.choice(settings.INPUT_LANGUAGES),
user_agent=random.choice(UA_STRINGS[product]))

0 comments on commit e1d1885

Please sign in to comment.