8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-22 23:13:46 +00:00

Rename migration + revert function radiusoption

This commit is contained in:
Gabriel Detraz 2018-12-30 14:56:25 +01:00 committed by root
parent 509390590b
commit 7318ee4758
2 changed files with 4 additions and 1 deletions

View file

@ -19,6 +19,9 @@ def create_radius_policy(apps, schema_editor):
radius_option.save()
def revert_radius(apps, schema_editor):
pass
class Migration(migrations.Migration):
@ -29,5 +32,5 @@ class Migration(migrations.Migration):
]
operations = [
migrations.RunPython(create_radius_policy),
migrations.RunPython(create_radius_policy, revert_radius),
]