An example of Django project with basic user functionality.
One difference of this project from https://github.com/egorsmkv/simple-django-login-and-register is that URLs have an attached language code everywhere.
Log In | Create an account | Authorized page |
---|---|---|
Password reset | Set new password | Password change |
---|---|---|
- Log in
- via username & password
- via email & password
- via email or username & password
- with a remember me checkbox (optional)
- Create an account
- Log out
- Profile activation via email
- Reset password
- Remind a username
- Resend an activation code
- Change password
- Change email
- Change profile
- Multilingual: English, French, Russian, Simplified Chinese and Spanish
git clone https://github.com/egorsmkv/simple-django-login-and-register-dynamic-lang
cd simple-django-login-and-register-dynamic-lang
pip install poetry
poetry install
poetry shell
Configure the settings (connection to the database, connection to an SMTP server, and other options)
-
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