django-authsimple 1.0.2

Creator: codyrutscher

Last updated:

Add to Cart

Description:

djangoauthsimple 1.0.2

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

Quick start

Add “authentication” to your INSTALLED_APPS setting like this

INSTALLED_APPS = [
...
'authentication',
]

Include the authentication URLconf in your project urls.py like this

path('auth/', include('authentication.urls')),

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

Run python manage.py migrate to create the authentication models.
Start the development server and visit http://127.0.0.1:8000/auth/register to register user.
visit http://127.0.0.1:8000/auth/login to login.
visit http://127.0.0.1:8000/auth/logout to logout.
visit http://127.0.0.1:8000/auth/forgot_password to forgot_password.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.