mirror of
https://github.com/pretix/pretix.git
synced 2026-05-18 17:24:03 +00:00
Delete old and unused settings entries
This commit is contained in:
@@ -42,6 +42,7 @@ def convert_old_settings(app, schema_editor):
|
|||||||
l.background.name = es.value[7:]
|
l.background.name = es.value[7:]
|
||||||
setattr(l, 'background', l.background.name)
|
setattr(l, 'background', l.background.name)
|
||||||
l.save()
|
l.save()
|
||||||
|
es.delete()
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|||||||
Reference in New Issue
Block a user