Source code for my tutorial on how to log users in with an email instead of username.
Want to log in with a username instead? Refer to my tutorial on basic user registration.
- Create a virtual environment
python3 -m venv venv
Activate environment
source venv/bin/activate
- Install requirements
pip install -r requirements.txt
- Test the server runs
python manage.py runserver
- Migrate
python manage.py migrate