An example of Django project with basic user functionality.
| Log In | Create an account | Authorized page |
|---|---|---|
![]() |
![]() |
![]() |
| Password reset | verifying page | Password change |
|---|---|---|
![]() |
![]() |
![]() |
- Log in
- via username & password
- via email & password
- via email or username & password
- Create an account
- Log out
- Profile activation via email
- Reset password
git clone https://github.com/Ho011/django-login-and-register.git
unix / mac
python3 -m pip install --user virtualenvwindows
py -m pip install --user virtualenvcreate a virtual environment
unix / mac
python3 -m venv env
windows
py -m venv env
And tell pip to install all of the packages in this file using the -r flag:
unix / mac
python3 -m pip install -r requirements.txtwindows
py -m pip install -r requirements.txt-
Edit
core/settings.pyif you want to develop the project. -
Create .env file in
core/and add your environment variable -
Apply migrations
The following are required environment variables:
- SERVER_EMAIL
- DEFAULT_FROM_EMAIL
- EMAIL_HOST_PASSWORD
- EMAIL_HOST_USER
- EMAIL_HOST
- SECRET_KEY
Just run this command:
python manage.py runserver




