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 Distribution
Built Distribution
Close
Hashes for django-easy-login-0.1.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0736e90b8b47cbf0fd65aab893421f3f93d0bf109a0311d73cba6c71dafe9c4 |
|
MD5 | f96a6a56ab6e21c566462e687fdc1dae |
|
BLAKE2b-256 | 4e873404aa1f6667ca68a09d06789b015d172fcb2b37e5f0b1fbdc6aca9bad66 |
Close
Hashes for django_easy_login-0.1.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2547868dc505ea58b658c939d6d7100e9c033fd5d42d969fa0b1b88b6a656ac |
|
MD5 | 44947e26d242e769b2b2e6bbb710bc64 |
|
BLAKE2b-256 | 6d7b7c1d94f9869896c6c1991d7ca6e334b9c657e1f3073ae17829b262d8ba60 |