Fix migrations to not use the cache
This commit is contained in:
parent
6c60834f37
commit
d317e032e7
@ -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