keep private texts private

This commit is contained in:
j 2017-01-25 17:39:12 +01:00
parent 6e698cf32f
commit aeab4d03de

View file

@ -69,6 +69,7 @@ def migrate_texts(apps, schema_editor):
d.name = t.name
d.user = t.user
d.description = t.description
d.rightslevel = 2 if t.status == 'private' else 0
d.data['text'] = t.text
d.data['embeds'] = t.embeds
d.save()