Commit 25f3edf2 authored by lizonr1's avatar lizonr1

change name of created objects

parent 65c2b9e4
...@@ -22,7 +22,7 @@ class Command(BaseCommand): ...@@ -22,7 +22,7 @@ class Command(BaseCommand):
['Antek', 'Kafcia u Olczaka', '50%', 'in_progress', None], ['Antek', 'Kafcia u Olczaka', '50%', 'in_progress', None],
['admin', 'Kafcia u Olczaka', '10%', 'in_progress', None], ['admin', 'Kafcia u Olczaka', '10%', 'in_progress', None],
] ]
print("Creating Awards") print("Creating UserPromotions")
for user_promotion in user_promotions: for user_promotion in user_promotions:
print('Create {0}'.format(user_promotion[0])) print('Create {0}'.format(user_promotion[0]))
user = User.objects.filter(username=user_promotion[0])[0] user = User.objects.filter(username=user_promotion[0])[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment