django.contrib.auth missing in INSTALLED_APPS? #239
Unanswered
coding-beginner-1
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Some time ago we had a similar issue #11753. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi friends,
I have installed the saleor-platform with docker on my windows computer. Everything works fine but I keep getting the same error when creating the superuser with:
docker-compose run --rm api python3 manage.py createsuperuserError:
RuntimeError: Model class django.contrib.auth.models.Permission doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.Inserting
django.contrib.authintoINSTALLED_APPS(saleor/saleor/settings.py) as proposed on Stackoverflow also doesn't work since there also is an app calledsaleor.authand django doesn't seem to like 2 apps with the same name:To solve this, I have tried to:
But nothing worked and I still can't create a superuser. I would appreciate any insight! Thank you! ;)
Beta Was this translation helpful? Give feedback.
All reactions