Adds reverse runpython for migration
This commit is contained in:
@@ -20,7 +20,7 @@ class Migration(migrations.Migration):
|
|||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.RunPython(set_user),
|
migrations.RunPython(set_user, lambda x, y: None),
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='shelfbook',
|
model_name='shelfbook',
|
||||||
name='user',
|
name='user',
|
||||||
|
Reference in New Issue
Block a user