Commit af527ac7 authored by fred's avatar fred
Browse files

load-from-spip: keep old article id in episode slug, for unicity

parent 3095e2b8
......@@ -401,7 +401,7 @@ class Command(BaseCommand):
possible_slugs = [article.url.lower()]
if article.url.lower().startswith('nouvel-article'):
possible_slugs.append(slugify(unicode(article.titre)) + '-%s' % article.id_article)
for slug in possible_slugs:
Supports Markdown
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