Fix print
This commit is contained in:
parent
bd3f7ac8ab
commit
e08bd8508a
|
|
@ -32,7 +32,6 @@ class Command(BaseCommand):
|
||||||
state = Award.PUBLISHED if a.state == 'published' else Award.WAITING
|
state = Award.PUBLISHED if a.state == 'published' else Award.WAITING
|
||||||
if profiles.exists() and type.exists():
|
if profiles.exists() and type.exists():
|
||||||
for profile in profiles:
|
for profile in profiles:
|
||||||
print(f'PROFILE {profile}')
|
|
||||||
award = Award(award_type=type.first(), vintage_year=a.vintage_year,
|
award = Award(award_type=type.first(), vintage_year=a.vintage_year,
|
||||||
title={"en-GB": a.title}, state=state,
|
title={"en-GB": a.title}, state=state,
|
||||||
content_object=profile, old_id=a.id)
|
content_object=profile, old_id=a.id)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user