mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 23:43:47 +00:00
c4a104b3b6
Just ran black on the whoe repository. Fix #210.
20 lines
537 B
Python
20 lines
537 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.10.7 on 2019-01-02 23:45
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
def migrate(apps, schema_editor):
|
|
Role = apps.get_model("machines", "Role")
|
|
|
|
for role in Role.objects.filter(specific_role="dns-recursif-server"):
|
|
role.specific_role = "dns-recursive-server"
|
|
role.save()
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [("machines", "0098_auto_20190102_1745")]
|
|
|
|
operations = [migrations.RunPython(migrate)]
|