Django Auth Starter Kit
A complete, production-ready authentication system for Django 5.2+ with beautiful Bootstrap 5 UI. Includes login, registration, password reset, and profile management.
# 1. Unzip the project
unzip django-auth-starter-kit.zip
cd django-auth-kit
# 2. Create virtual environment
python -m venv venv
source venv/bin/activate # Windows: venv\\Scripts\\activate
# 3. Install dependencies
pip install -r requirements.txt
# 4. Apply migrations
python manage.py migrate
# 5. Create a superuser (optional)
python manage.py createsuperuser
# 6. Run the server
python manage.py runserver
Visit http://127.0.0.1:8000 -- that's it!
accounts/templates/static/css/auth.cssaccounts/models.py -- add any fields you needaccounts/forms.py -- update to include new fieldsUpdate project/settings.py:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'your_db_name',
'USER': 'your_db_user',
'PASSWORD': 'your_db_password',
'HOST': 'localhost',
'PORT': '5432',
}
}
For password reset to work, configure email in project/settings.py:
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = 'your-email@gmail.com'
EMAIL_HOST_PASSWORD = 'your-app-password'
Free to use for personal and commercial projects. No attribution required.