mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-16 03:29:41 +00:00
More optimisation and cleanup (#420)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Generated by Django 2.0.13 on 2020-01-11 18:29
|
||||
# This migration ensures that legacy Profiles from before approvals were implemented are automatically approved
|
||||
# This migration ensures that legacy Profiles from before approvals were implemented are automatically approved
|
||||
from django.db import migrations
|
||||
|
||||
def approve_legacy(apps, schema_editor):
|
||||
@@ -15,5 +15,5 @@ class Migration(migrations.Migration):
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RunPython(approve_legacy)
|
||||
migrations.RunPython(approve_legacy, migrations.RunPython.noop)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user