A simple basic authentication template. This app can be used as a base, or starting point for other projects. The technique used for authentication is by extending the AbstractUser
class provided by django. So the security is not at a level that this can be used in production. Use this for hobby or personal projects, for production I would advise to try token based authentication or use django packages like django-allauth in combination with django-rest-auth
- django-crispy-forms
- Tested on
- python3.7
- django3.0.1
- django-crispy-forms1.9.2
- bootstrap4
- navbar
- login
- signup
- password change
- password reset(using terminal)
- make sure you have the required modules installed
cd
into django-user-authentication-template-basic folder- run
python manage.py makemigrations users
and thenpython manage.py
migrate - create a superuser