From: Guillaume Pellerin Date: Tue, 31 Dec 2013 16:17:21 +0000 (+0100) Subject: fix item id X-Git-Tag: 2.8.1-pro~328 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=76a88ab59c1cca7245192e275adfae50dad03bf7;p=teleforma.git fix item id --- diff --git a/teleforma/management/commands/teleforma-import-seminar-media.py b/teleforma/management/commands/teleforma-import-seminar-media.py index ef40428f..f5e0d0a0 100644 --- a/teleforma/management/commands/teleforma-import-seminar-media.py +++ b/teleforma/management/commands/teleforma-import-seminar-media.py @@ -167,7 +167,7 @@ class Command(BaseCommand): else: collection = collections[0] - id = '_'.join([period.name, '10', collection_id, ext, str(media_rank)]) + id = '_'.join([period.name, '20', collection_id, ext, str(media_rank)]) items = MediaItem.objects.filter(collection=collection, code=id) if not items: