Doc: Add more detail info for docker password update

This commit is contained in:
winkidney
2021-03-06 21:51:01 +08:00
parent e566b0e4a0
commit 0ed4248416

View File

@@ -8,5 +8,8 @@ passwords involves:
- Login to your admin panel `{your_website_url}/admin/`
- Go to the users section, select the user, change their password.
Note: If you use that command to create superuser **inside docker**, please add `--settings=pinry.settings.docker`
to command like, just like `python manage.py createsuperuser --settings=pinry.settings.docker`
## Inside Docker
If you use that command to create superuser **inside docker**,
you could first exec to docker via command like
`docker exec -it <container-id> bash` and then use
`python manage.py createsuperuser --settings=pinry.settings.docker`