A simple Django app to switch between users without authentication.
Project description
Django Easy Login is a Django app that allows end-users to login with already created users at the system without authentication.
Quick start
Add ‘easy_login’ to your INSTALLED_APPS settings:
INSTALLED_APPS = [ ... 'easy_login', ]
Now edit the example/urls.py module in your project:
urlpatterns = [ ... url(r'^easy_login/', include('easy_login.urls', namespace='easy-login')), ... ]
Set middleware class:
TEMPLATES = [ ... 'context_processors': [ 'easy_login.context_processors.easy_login', ... ], ]
Define default url redirect:
EASY_URL_REDIRECT = 'test-app:index'
In template define easy_login variable:
{{ easy_login }}
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for django_easy_login-0.1.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14d8f4b320b951e3fc591055ed75293c03e8ab490005b99fff00336e735be275 |
|
MD5 | ea6b97311ccff529ed655aed288d0459 |
|
BLAKE2b-256 | 15ae6e0af76bb27e9490abb898590c96ca5ab9cb31cb9a1c7cf963f1a69f618a |