Merge pull request #5633 from FinnStutzenstein/fixMigrations
Fix migrations to not use the cache
This commit is contained in:
commit
d2043f508c
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user