only set public on create
This commit is contained in:
parent
7f984cb416
commit
38793f69c3
1 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@ class Command(BaseCommand):
|
|||
elif key != 'id':
|
||||
f.data[{
|
||||
}.get(key, key)] = value
|
||||
if c:
|
||||
f.public = True
|
||||
f.slug = item['id']
|
||||
f.save()
|
||||
|
|
Loading…
Reference in a new issue