{ "info": { "author": "Martyn CLEMENT", "author_email": "martyn@engage-sports.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Django Multiple Auth\n====================\n\ndjango-multiple-auth allows you to login over a Django website with\nmany users and quickly switch without having to type credentials.\n\n\n[![Build Status](https://travis-ci.org/EngageSports/django-multiple-auth.svg?branch=master)](https://travis-ci.org/EngageSports/django-multiple-auth)\n\n\nRequirements\n------------\n\n - Django 1.10.* / Django 1.11.*\n - Tested under python 2.7 and 3.6\n\n\nInstall\n-------\n\n```\npip install django-multiple-auth\n```\n\n\nAdd `multiple_auth` to INSTALLED_APPS\n\n```python\nINSTALLED_APPS = (\n ...\n 'multiple_auth',\n)\n```\n\nthen update your project's `urls.py`:\n\n```python\nurlpatterns = patterns(\n ...\n url(r'^m_auth/', include('multiple_auth.urls')),\n)\n```\n\nUsage\n-----\n\nReplace the usage of `django.contrib.auth.views.login` by `multiple_auth.views.login`\n \n```python\nfrom multiple_auth.views import login\n\nurlpatterns = patterns(\n url(r'^login/$', login, name='auth_login'),\n]\n```\n\nThis view must be used to login new users, including the first login. \n\n\nIn your template, load the template tag, show a list of logged-in users and give access to the login form.\n\n```html\n{% load multiple_auth_tags %}\n\n{% block content %}\n {% get_logged_in_users as logged_in_users %}\n \n Add account\n{% endblock content %}\n```\n\n\n\n\nChangeLog\n=========\n\n\n1.2 2017-12-18\n--------------\n\n- Added MANIFEST\n\n\n1.1 2017-11-30\n--------------\n\n- Python 3 compat\n- Updated readme \n- Test under django 1.10.X, 1.11.X\n\n\n1.0 2017-11-28\n--------------\n\n- Initial Release", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/EngageSports/django-multiple-auth", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-multiple-auth", "package_url": "https://pypi.org/project/django-multiple-auth/", "platform": "", "project_url": "https://pypi.org/project/django-multiple-auth/", "project_urls": { "Homepage": "https://github.com/EngageSports/django-multiple-auth" }, "release_url": "https://pypi.org/project/django-multiple-auth/1.2/", "requires_dist": null, "requires_python": "", "summary": "Multiple login users at the same time", "version": "1.2" }, "last_serial": 3424649, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "c55024d14d8af4dcf248f1bcda1348cd", "sha256": "8da4d675083a3ffe726dd7338fb6bbfdc88c27a0d1ad187d4523ac20932471cb" }, "downloads": -1, "filename": "django_multiple_auth-1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "c55024d14d8af4dcf248f1bcda1348cd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9258, "upload_time": "2017-11-29T08:42:57", "url": "https://files.pythonhosted.org/packages/32/18/1c1d2777b48e389ff19b645eb53728478fbebd7fb95d849430b735217a3f/django_multiple_auth-1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4256c70fc67bdab5c1e1fa9b19c71538", "sha256": "870ab39fab362dc7fa84157a6f853dd6a15b586711ee4beef67254d28383403c" }, "downloads": -1, "filename": "django-multiple-auth-1.0.tar.gz", "has_sig": false, "md5_digest": "4256c70fc67bdab5c1e1fa9b19c71538", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5643, "upload_time": "2017-11-29T08:39:33", "url": "https://files.pythonhosted.org/packages/e0/ff/1db116b4c1a636139ca3014e8759252c5723a93d1ea4e2ac1052a1a6e050/django-multiple-auth-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "9ac57aa7c7930c91bf47f0a5e71bae28", "sha256": "456f646292bbbc37ffd0a9898080c58d4a439262c3364d503c2f4c733365888a" }, "downloads": -1, "filename": "django_multiple_auth-1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "9ac57aa7c7930c91bf47f0a5e71bae28", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9571, "upload_time": "2017-11-30T12:25:27", "url": "https://files.pythonhosted.org/packages/66/59/0600b7fa61cc08dda8322e92411d87e81aeb3899d8f2d728886374746c5f/django_multiple_auth-1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b05b25e247e05372e78345bd5c76ca9a", "sha256": "12c601a3a66791154b0f0c1e1bc85dd43f703e5bd370626886ebc01b69b8f8d0" }, "downloads": -1, "filename": "django-multiple-auth-1.1.tar.gz", "has_sig": false, "md5_digest": "b05b25e247e05372e78345bd5c76ca9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5809, "upload_time": "2017-11-30T12:25:13", "url": "https://files.pythonhosted.org/packages/9c/0c/77a48f014ce16f72eef07b2701b7d239c5735263465366c55fb0e44295f8/django-multiple-auth-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "d8bcff6134583d8b9879f9746e91c229", "sha256": "a8bece6d4e23d58322f06ed761006b4943e5cf32462b7538b82f6bded87ea7ff" }, "downloads": -1, "filename": "django_multiple_auth-1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "d8bcff6134583d8b9879f9746e91c229", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9617, "upload_time": "2017-12-18T10:35:58", "url": "https://files.pythonhosted.org/packages/10/e4/e1d5ed47a467bee993ee3a56024a9de8b3cbbdfcf06e432f04475a8769d6/django_multiple_auth-1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e272130ad25954edfbf43479058a6655", "sha256": "ae572c07c58eb34fca65608e9c374c2a0cb4ca85d8d18c00157c0534c9af553d" }, "downloads": -1, "filename": "django-multiple-auth-1.2.tar.gz", "has_sig": false, "md5_digest": "e272130ad25954edfbf43479058a6655", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6097, "upload_time": "2017-12-18T10:35:55", "url": "https://files.pythonhosted.org/packages/a3/5b/334287fe135e546d50f5901f0c16bd72e718ccb18973ae7c90b470facc16/django-multiple-auth-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d8bcff6134583d8b9879f9746e91c229", "sha256": "a8bece6d4e23d58322f06ed761006b4943e5cf32462b7538b82f6bded87ea7ff" }, "downloads": -1, "filename": "django_multiple_auth-1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "d8bcff6134583d8b9879f9746e91c229", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9617, "upload_time": "2017-12-18T10:35:58", "url": "https://files.pythonhosted.org/packages/10/e4/e1d5ed47a467bee993ee3a56024a9de8b3cbbdfcf06e432f04475a8769d6/django_multiple_auth-1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e272130ad25954edfbf43479058a6655", "sha256": "ae572c07c58eb34fca65608e9c374c2a0cb4ca85d8d18c00157c0534c9af553d" }, "downloads": -1, "filename": "django-multiple-auth-1.2.tar.gz", "has_sig": false, "md5_digest": "e272130ad25954edfbf43479058a6655", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6097, "upload_time": "2017-12-18T10:35:55", "url": "https://files.pythonhosted.org/packages/a3/5b/334287fe135e546d50f5901f0c16bd72e718ccb18973ae7c90b470facc16/django-multiple-auth-1.2.tar.gz" } ] }