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':
|
elif key != 'id':
|
||||||
f.data[{
|
f.data[{
|
||||||
}.get(key, key)] = value
|
}.get(key, key)] = value
|
||||||
f.public = True
|
if c:
|
||||||
|
f.public = True
|
||||||
f.slug = item['id']
|
f.slug = item['id']
|
||||||
f.save()
|
f.save()
|
||||||
|
|
Loading…
Reference in a new issue