You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a bit of background we are using MySQL and django-nose (which uses the Django testrunner), we also don't have any ContentType or permissions in fixtures, we're letting Django create those or in the case of permissions create them manually in setUp().
Based on your most recent comment does that mean your PR is no longer required?
The PR is still required, but took a different approach.
Not using contenttypes or auth in the fixtures means that the bug(s) are not triggered.
There might be other (internal) models affected, but these are the ones I'm using.
I am having the issue that the content types are not available yet when the migration is run.
I've found out that they get created in a post-migration hook, which apparently gets not invoked between each migration step?!
The fix for this seemed easy then, but then it failed because the auth data was not available yet, and that was not so trivial to work around.
I'll provide a PR with my changed, but hopefully I am just missing something.
Do you use ContentType and permissions in your initial data dumps?
I could also imagine that using pytest instead of the Django testrunner might be causing this.
The text was updated successfully, but these errors were encountered: