Skip to main content

simpleauth is a Django app to implement simple authentication in django project.

Quick start

  1. Add “authentication” to your INSTALLED_APPS setting like this

INSTALLED_APPS = [
    ...
    'authentication',
]
  1. Include the authentication URLconf in your project urls.py like this

path('auth/', include('authentication.urls')),
  1. Create a “simpleAuth.py” file at project level(where manage.py is located)

DOMAIN = "http://127.0.0.1:8000"          # for default djangoserver (use your domain name)
SENDER_EMAIL_ID = "YOUR_MAIL_ID"
SENDER_PASSWORD = 'YOUR MAIL_ID PASSWORD'
SERVER_NAME = 'smtp.gmail.com'            # for gmail (use your mail servername)
# NOTE : TURN ON LESS SECURE APP OPTION IN UR GOOGLE ACCOUNT
  1. Run python manage.py migrate to create the authentication models.

  2. Start the development server and visit http://127.0.0.1:8000/auth/register to register user.

  3. visit http://127.0.0.1:8000/auth/login to login.

  4. visit http://127.0.0.1:8000/auth/logout to logout.

  5. visit http://127.0.0.1:8000/auth/forgot_password to forgot_password.

Release files for django-authsimple 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-authsimple 1.0.2
File Size Uploaded
django-authsimple-1.0.2.tar.gz 7.2 kB Details

Release files / django-authsimple-1.0.2.tar.gz

Download URL django-authsimple-1.0.2.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
031375ebf25e7942a9e3141dfe3bf1a7a8801c38592e82b80aa1640fbf226469
BLAKE2b-256 checksum
How to use checksums
b4e8825332d6a69c0f5707dabab3bfb9f7f3a80c5e9423ef7ef2984e02802eb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page