Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

App hook to make integration with the standard Django Auth Library easier. Also includes templates for all auth views.

Project description

Django CMS Auth Apphook
=======================

App hook to make integration with the standard Django Auth Library (`django.contrib.auth`) easier. Also includes templates for all auth views.

Installation
------------

To install, you will need to clone the git, then run the setup.py script:

git clone https://github.com/flungo/django_cms_auth_apphook.git
cd django_cms_auth_apphook
python setup.py install

Configuration
-------------

Add `auth_apphook` to your list of `INSTALLED_APPS`. It's position doesn't matter unless you have `django.contrib.admin` installed (which to be honest, you probably do) and you want to use the included templates. `django.contrib.admin` contains several templates for `django.contrib.auth` so in order to use the included templates (see bellow) you should make sure it is listed before `django.contrib.admin`.

INSTALLED_APPS = (
# ...
'auth_apphook',
# ...
'django.contrib.auth',
# ...
)

Templates
---------------------

Included with this app are the core templates required by the front end to generate the appropriate pages. I have made them all extend "base.html" so they will by default have your theme but should you need to customise these, you can copy the `registration` directory to your templates directory and customise till your heart's content.

Project details


Download files

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

Files for django_cms_auth_apphook, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size django_cms_auth_apphook-1.0.0.zip (9.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page