Reusable Django authentication package: login, register, dashboard ready out-of-the-box!
Project description
Django Auth App
A reusable Django authentication package that provides login, logout, registration, and dashboard functionality out-of-the-box.
No need to rewrite authentication logic for every Django project—just install, migrate, and copy templates.
Features
- Login, logout, and registration views
- Dashboard and home page templates
- Ready-to-use URLs
- Easy template customization via management command
- Works with any Django 4.x+ project
Installation
Install the package via pip:
pip install /path/to/django_auth_package
Add to INSTALLED_APPS in your settings.py:
INSTALLED_APPS = [
...
'django_auth_app',
]
Run migrations:
python manage.py migrate
Copy Templates
To customize templates, copy them into your project:
python manage.py copy_templates
This will create:
myproject/templates/django_auth_app/
├─ login.html
├─ register.html
├─ dashboard.html
└─ home_page.html
You can now edit HTML/CSS as needed. URLs
Include the app URLs in your project’s urls.py:
from django.urls import path, include
urlpatterns = [
path('', include('django_auth_app.urls', namespace='django_auth_app')),
]
Available URLs:
-
/login/ → Login page
-
/register/ → Registration page
-
/dashboard/ → Dashboard
-
/ → Home page
Usage
Af---ter installation, your Django project will have fully functional authentication without writing a single line of authentication code. You can customize templates, add CSS, or integrate it with other apps seamlessly.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_auto_authentication-0.1.0.tar.gz.
File metadata
- Download URL: django_auto_authentication-0.1.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ae8faba3feed8b56f5a91b1bd452ff57c3daa79ae17c3766f3b0ad072e21b9a
|
|
| MD5 |
09f6a1ff9102cf01113f826800848819
|
|
| BLAKE2b-256 |
c4871f847bb4c649be778144380bc71302090d74c80de6a78a0e841a9be68a56
|
File details
Details for the file django_auto_authentication-0.1.0-py3-none-any.whl.
File metadata
- Download URL: django_auto_authentication-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e510087e5bc7c1de82ab076a5ab560f5de3adc560b0c56132c5efbbb0a10a469
|
|
| MD5 |
ca1ebdaf0bfe7f24a630a16f8e9c2138
|
|
| BLAKE2b-256 |
9e5746782a746a74299719fed672a369ea06675b43a8a7867c7594c1792b7e2a
|