-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Django Permission 'codenames` Duplicated #2624
Comments
This is happening because we delete the InterfaceConnection model and then introduce a new InterfaceConnection proxy model in the v2.4.8:
After migrating to v2.5-beta2:
So there are actually two issues here:
In the meantime, this can be resolved by cleaning out stale content types with the following management command:
|
…ving InterfaceConnection model
Environment
Steps to Reproduce
I'm using @cimnine's Docker deployment instructions mentioned here.
Although I couldn't get that one-liner to work for whatever reason, if I manually execute that code, I still see these permission
codenames
:This causes problems as it is expected for each permission to have a unique
codename
.Expected Behavior
The permissions should take effect without erroring out.
Observed Behavior
When I try and bring up my Dockerized version of NetBox using
v2.5-beta2
, I get this error:The text was updated successfully, but these errors were encountered: