An example of Django project with basic user functionality.
Log In | Create an account | Authorized page |
---|---|---|
Password reset | Set new password | Password change |
---|---|---|
If you need dynamic URLs with the language code, check out https://github.com/egorsmkv/simple-django-login-and-register-dynamic-lang
git clone https://github.com/egorsmkv/simple-django-login-and-register
cd simple-django-login-and-register
conda create -n simple-django-login-and-register python=3.8
conda activate simple-django-login-and-register
pip install poetry
poetry install
poetry shell
Edit source/app/conf/development/settings.py
if you want to develop the project.
Edit source/app/conf/production/settings.py
if you want to run the project in production.
python source/manage.py migrate
python source/manage.py collectstatic
Just run this command:
python source/manage.py runserver