Skip to main content
https://badge.fury.io/py/django_authstrap.png https://travis-ci.org/alixedi/django_authstrap.png?branch=master https://pypip.in/d/django_authstrap/badge.png

Bootstrap templates for django.contrib.auth

Introduction

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.

Installation

Install django-auth-bootstrap-templates:

pip install django_authstrap

Usage

Then use it in a project:

  1. Put this in your settings.py:

    INSTALLED_APPS += 'django_authstrap'
    LOGIN_URL = 'auth/login'
    LOGOUT_URL = 'auth/logout'
  2. Set-up the project urls.py 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.

Features

  • All tempaltes are based on Bootstrap 2

  • Forms are rendered using the form-horizontal layout

History

0.1.0 (2013-11-25)

  • First release on PyPI.

0.2.0 (2013-11-25)

  • Noe includes a working demo project.

Metadata

Release files for django_authstrap 0.2.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_authstrap 0.2.2
File Size Uploaded
django_authstrap-0.2.2.tar.gz 6.7 kB Details

Release files / django_authstrap-0.2.2.tar.gz

Download URL django_authstrap-0.2.2.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f875c21c6cbff2a465c3b37144a14b87932e9d0b95304073e24d5df00a03bda0
BLAKE2b-256 checksum
How to use checksums
e531d233b42c3e11a63d06ecaf53ebc1b7b6d15eac281bd533725470fb69c3bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

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