Skip to content
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.

Use your Django project's existing authentication views in the admin interface.

License

Notifications You must be signed in to change notification settings

taymonbeal/django-admin-external-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-admin-external-auth

Use your Django project's existing authentication views in the admin interface.

Dependencies

Requires Django 1.7 or later.

Installation

Download from the Python Package Index with pip install django-admin-external-auth. Or download the source from GitHub and install with python setup.py install.

Configuration

In your Django project's settings file, under INSTALLED_APPS, find 'django.contrib.admin' and replace it with 'django.contrib.admin.apps.SimpleAdminConfig'.

In your Django project's root URLconf, add the following lines somewhere before the first reference to admin.site:

from daeauth import AdminSiteWithExternalAuth
admin.site = AdminSiteWithExternalAuth()
admin.autodiscover()

And that's it.

About

Use your Django project's existing authentication views in the admin interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages