Delete old and unused settings entries

This commit is contained in:
Raphael Michel
2018-08-05 16:27:30 +02:00
parent edb913855d
commit 8301120a95

View File

@@ -42,6 +42,7 @@ def convert_old_settings(app, schema_editor):
l.background.name = es.value[7:]
setattr(l, 'background', l.background.name)
l.save()
es.delete()
class Migration(migrations.Migration):