Commit 7318ee47 authored by Gabriel Detraz's avatar Gabriel Detraz Committed by root

Rename migration + revert function radiusoption

parent 50939059
...@@ -19,6 +19,9 @@ def create_radius_policy(apps, schema_editor): ...@@ -19,6 +19,9 @@ def create_radius_policy(apps, schema_editor):
radius_option.save() radius_option.save()
def revert_radius(apps, schema_editor):
pass
class Migration(migrations.Migration): class Migration(migrations.Migration):
...@@ -29,5 +32,5 @@ class Migration(migrations.Migration): ...@@ -29,5 +32,5 @@ class Migration(migrations.Migration):
] ]
operations = [ operations = [
migrations.RunPython(create_radius_policy), migrations.RunPython(create_radius_policy, revert_radius),
] ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment