startup cluster use docker-compose.advanced.yml and set PUBLIC_REGISTER_ENABLED = True, can register user and login, but can't create project, and default user admin can't login.
login into postgres container, found that there have not exists admin account in user table.
solution is :
run python manage.py loaddata --initial-users to import admin users
run python manage.py loaddata --initial-project-templates to import project templates
startup cluster use
docker-compose.advanced.yml
and setPUBLIC_REGISTER_ENABLED = True
, can register user and login, but can't create project, and default user admin can't login.login into postgres container, found that there have not exists
admin
account in user table.solution is :
python manage.py loaddata --initial-users
to import admin userspython manage.py loaddata --initial-project-templates
to import project templates