Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_auto_authentication-0.1.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_auto_authentication-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file django_auto_authentication-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django_auto_authentication-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0ae8faba3feed8b56f5a91b1bd452ff57c3daa79ae17c3766f3b0ad072e21b9a
MD5 09f6a1ff9102cf01113f826800848819
BLAKE2b-256 c4871f847bb4c649be778144380bc71302090d74c80de6a78a0e841a9be68a56

See more details on using hashes here.

File details

Details for the file django_auto_authentication-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_auto_authentication-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e510087e5bc7c1de82ab076a5ab560f5de3adc560b0c56132c5efbbb0a10a469
MD5 ca1ebdaf0bfe7f24a630a16f8e9c2138
BLAKE2b-256 9e5746782a746a74299719fed672a369ea06675b43a8a7867c7594c1792b7e2a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page