-
Notifications
You must be signed in to change notification settings - Fork 147
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
Creating Superuser fails on a fresh install #2204
Comments
Will look into that. Please use the "evap" user as described in step 3 of the installation section in the readme for now: https://github.com/e-valuation/EvaP?tab=readme-ov-file#installation-for-development |
I also noticed the problem after loading custom data which did not have a superuser. @richardebeling pointed out that REQUIRED_FIELDS should fix it 👍 |
@Keridos do you want to open a pull request that adds the The relevant lines should be EvaP/evap/evaluation/models.py Line 1657 in a1af82a
and EvaP/evap/evaluation/models.py Line 1735 in a1af82a
|
As I got no experience with django projects I have a question there: I can add the fields |
Ah, good point, I think we didn't handle that the way django intends in #1903 (see the change here). My understanding of the django docs on custom user profile managers is that the argument for (background information regarding the variable naming: Since #1903, we distinguish between |
Using docker provider. Start up a fresh docker instance via Vagrant. Try the create superuser command.
It asks for login email and password. Enter credentials. It then crashes due to the postgresql having a constraint that first name of a user must not be null.
The text was updated successfully, but these errors were encountered: