We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5088a1c commit ce4f006Copy full SHA for ce4f006
openwisp_controller/config/migrations/0056_ow_zt-to-global.py
@@ -1,7 +1,7 @@
1
from django.db import migrations
2
import json
3
4
-def change_owzt_to_global(apps):
+def change_owzt_to_global(apps, schema_editor):
5
Template = apps.get_model('config', 'Template')
6
for template in Template.objects.all():
7
config = json.loads(template.config)
@@ -11,7 +11,7 @@ def change_owzt_to_global(apps):
11
item['name'] = 'global'
12
13
class Migration(migrations.Migration):
14
- dependencies = [('config', '0056_ow_zt-to-global')]
+ dependencies = [('config', '0055_alter_config_status')]
15
16
operations = [
17
migrations.RunPython(change_owzt_to_global, reverse_code=migrations.RunPython.noop)
0 commit comments