A full-featured user authentication system built with Django. It includes registration, login/logout, password change/reset, profile update, and account deletion with a responsive Bootstrap UI.
- User registration and login
- Password hashing and validation
- Profile management
- Password change and reset
- Account deletion
- Custom Django forms and templates
- Flash messages and error handling
- 404 / 500 custom error pages
- Deployed with PythonAnywhere
This project is deployed using PythonAnywhere with static files served via whitenoise
.
Live Demo: http://djangoauthsys.pythonanywhere.com/
django-auth-system/
├── accounts/ # User management app
│ ├── admin.py
│ ├── apps.py
│ ├── forms.py
│ ├── models.py
│ ├── urls.py
│ └── views.py
├── config/ # Django settings and core configuration
│ ├── asgi.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
├── db.sqlite3 # SQLite DB (for dev)
├── LICENSE
├── manage.py
├── README.md
├── requirements.txt # Dependencies
├── TODO.md # Remaining tasks & ideas
├── static/ # Static files (logo, favicon, etc.)
│ ├── favicon.ico
│ └── logo.png
├── templates/ # HTML templates
│ ├── 404.html
│ ├── 500.html
│ ├── base.html
│ ├── change\_password.html
│ ├── dashboard.html
│ ├── delete\_account.html
│ ├── login.html
│ ├── navbar.html
│ ├── profile.html
│ ├── register.html
│ └── update\_profile.html
-
Clone the repo
git clone https://github.com/r00tus4r/django-auth-system.git cd django-auth-system
-
Create virtual environment
python3 -m venv .venv source .venv/bin/activate
-
Install requirements
pip install -r requirements.txt
-
Run migrations and start server
python manage.py migrate python manage.py runserver
Then open your browser: http://127.0.0.1:8000/
This project is licensed under the MIT License.