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.
=======================
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django_cms_auth_apphook-1.0.0.zip.
File metadata
- Download URL: django_cms_auth_apphook-1.0.0.zip
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73f7111b1ae91a0abfdab9297c0d9f35141035b06470a742ab0e6c80f567078b
|
|
| MD5 |
798cab51a573287f5a13cfa698b88fc2
|
|
| BLAKE2b-256 |
514be0ead15c553499780f8637e7c6cad3113b865bb4f6d81c66aa7b27428316
|