Fix migrations to not use the cache

This commit is contained in:
Finn Stutzenstein 2020-10-14 07:48:40 +02:00
parent 6c60834f37
commit d317e032e7
No known key found for this signature in database
GPG Key ID: 9042F605C6324654

View File

@ -31,7 +31,7 @@ def add_permission_to_delegates(apps, schema_editor):
)
delegate.permissions.add(perm)
delegate.save()
delegate.save(skip_autoupdate=True)
class Migration(migrations.Migration):