very minor fix
authorJan Szejko <janek37@gmail.com>
Tue, 31 Oct 2017 13:30:55 +0000 (14:30 +0100)
committerJan Szejko <janek37@gmail.com>
Tue, 31 Oct 2017 13:30:55 +0000 (14:30 +0100)
src/catalogue/migrations/0016_auto_20171031_1232.py

index 1dbee60..5892a29 100644 (file)
@@ -33,5 +33,5 @@ class Migration(migrations.Migration):
             name='has_audience',
             field=models.BooleanField(default=False),
         ),
             name='has_audience',
             field=models.BooleanField(default=False),
         ),
-        migrations.RunPython(refresh_books, lambda apps, schema_editor: None),
+        migrations.RunPython(refresh_books, migrations.RunPython.noop),
     ]
     ]