Skip to main content

A simple Django app to provide user signup, login, change & reset password

Project description


django easy custom auth is a simple Django app to provide all user related funtionalities. User signup, login, logout, change password, forgot password all is set with all templates. You can customize templates easily by putting their path in your settings file.

Detailed documentation is in the "docs" directory.

Quick start

  1. Add "django_easy_custom_auth" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [ ... 'customauth', ]

  2. Define the login, logout and login_redirect url in your project like this::


  3. Include the custom_auth URLconf in your project like this::

    path('ca/', include('customauth.urls')),

  4. Run python migrate to create the user model if already not done.

  5. Start the development server and visit to signup.

Override templates

Define the templates path as below. change the customauth with your app name, if you have put templates in your app or define path accordingly.

# custom auth settings
SIGNUP_HTML = 'customauth/signup.html'
LOGIN_HTML = 'customauth/login.html'
CHANGE_PASSWORD_FORM_HTML = 'customauth/change_password_form.html'
PASSWORD_RESET_COMPLETE_HTML = 'customauth/password_reset_complete.html'
PASSWORD_RESET_CONFIRM_HTML = 'customauth/password_reset_confirm.html'
PASSWORD_RESET_DONE_HTML = 'customauth/password_reset_done.html'
PASSWORD_RESET_EMAIL_HTML = 'customauth/password_reset_email.html'
PASSWORD_RESET_FORM_HTML = 'customauth/password_reset_form.html'
PASSWORD_RESET_SUBJECT_TXT = 'customauth/password_reset_subject.txt'

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-easy-custom-auth-0.5.tar.gz (8.3 kB view hashes)

Uploaded source

Supported by

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