From: Guillaume Pellerin Date: Thu, 21 Apr 2016 10:21:22 +0000 (+0200) Subject: use event tags instead of category X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=f775436800f402814f7c1e9dd6c2a6b459b79a90;p=mezzo.git use event tags instead of category --- diff --git a/app/festival/management/commands/festival-sync-eve-events.py b/app/festival/management/commands/festival-sync-eve-events.py index a9da07a7..9c601a44 100644 --- a/app/festival/management/commands/festival-sync-eve-events.py +++ b/app/festival/management/commands/festival-sync-eve-events.py @@ -64,9 +64,7 @@ class Command(BaseCommand): location.clean() location.save() event.location = location - - category, c = ma_models.EventCategory.objects.get_or_create(name=eve_event.event_category.name) - event.category = category + event.tags = eve_event.event_category.name event.save() eve_prices = eve_models.PriceManifestation.objects.filter(manifestation=manifestation)