xls_import now don't update slug if already present

This commit is contained in:
Felipe Martín 2015-06-23 16:25:15 +02:00
parent a62983b77d
commit 643755ae66
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ class Command(BaseCommand):
amiibo_obj.collection.name_jp = amiibo['collection']
amiibo_obj.collection.save()
if amiibo_obj.name_eu:
if amiibo_obj.name_eu and not amiibo_obj.slug:
amiibo_obj.slug = slugify(amiibo_obj.name_eu)
try: