Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Bootstrap templates for django.contrib.auth

Project description

Bootstrap templates for django.contrib.auth


Django comes with a reasonable default authorization module comprising of several useful views such as login and logout, password reset flow and password change flow. Neither the templates for these views nor the urls are part of the standard django distribution. This projects implemnts the missing functionality so you don’t have to.


Install django-auth-bootstrap-templates:

pip install django_authstrap


Then use it in a project:

  1. Put this in your

    INSTALLED_APPS += 'django_authstrap'
    LOGIN_URL = 'auth/login'
    LOGOUT_URL = 'auth/logout'
  2. Set-up the project to include auth urls:

    url(r'^auth/', include('django_authstrap.urls'))

Run the dev server and point your browser to a page that required logging in.


  • All tempaltes are based on Bootstrap 2
  • Forms are rendered using the form-horizontal layout


0.1.0 (2013-11-25)

  • First release on PyPI.

0.2.0 (2013-11-25)

  • Noe includes a working demo project.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django_authstrap-0.2.2.tar.gz (6.7 kB) Copy SHA256 hash SHA256 Source None Nov 25, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page