{ "info": { "author": "Ilya Baryshev", "author_email": "baryshev@futurecolors.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-email-login\n==================\n\nLog in via email for django 1.4. Forked from `django-email-login`_\n\n.. image:: https://travis-ci.org/futurecolors/django-email-login.png?branch=master\n :target: https://travis-ci.org/futurecolors/django-email-login\n\n.. image:: https://coveralls.io/repos/futurecolors/django-email-login/badge.png?branch=master\n :target: https://coveralls.io/r/futurecolors/django-email-login/\n\n.. _django-email-login: https://bitbucket.org/tino/django-email-login\n\nGoals\n=====\n\nThe goal of this app is to easily transform django's auth system to allow\nlogin with an email adress, instead of a username. This should work inside the\nadmin as well as outside. Therefore, email adresses need to be unique.\n\nThe username of the User will be the hash of it's email adress. As it means\nnothing, it will be hidden in the admin changelist view.\n\nInstall\n=======\n\nInstall with ``pip install django-email-login`` or checkout from Bitbucket ``hg clone https://bitbucket.org/tino/django-email-login`` and run ``python setup.py install``.\n\nUsage\n=====\n\n1. Append ``'email_login'`` to your ``INSTALLED_APPS`` setting\n#. Insert ``'email_login.auth_backend.EmailBackend'`` as first in the \n ``AUTHENTICATION_BACKENDS`` settings tuple.\n#. Add the following in you root ``urls.py`` *after* ``admin.autodiscover()``::\n\n # Insert email_login overrides\n from email_login import useradmin, adminsite\n site = adminsite.EmailLoginAdminSite()\n # duplicate the normal admin's registry until ticket #8500 get's fixed\n site._registry = admin.site._registry\n \n#. Instead of using::\n\n # Uncomment the next line to enable the admin:\n (r'^admin/', include(admin.site.urls)),\n\n use::\n\n # Uncomment the next line to enable the admin:\n (r'^admin/', include(site.urls)),\n\n to include the admin in your root ``urls.py``.\n \n#. To use login outside of the admin, add::\n \n (r'^account/', include('email_login.urls')),\n \n to your ``urls.py``\n\n.. note:: \n Your admin account needs to have an email address, otherwise you won't be\n able to sign in!\n \n.. note::\n The admin will display the username in the top right corner of the logged\n in user if the user has no firstname. If you want to override that, over-\n ride the ``admin/base.html`` template.\n \nIn conjunction with django-user-creation\n========================================\n\nIf you want to use this app in conjunction with `django-user-creation`_, you\nhave to create your own ``ModelAdmin`` for ``User``. You may do so by adding a\n``useradmin.py`` file to your project with the following contents::\n\n from django.contrib import admin\n from django.contrib.auth.models import User\n from user_creation.forms import EmailAccountCreationForm\n from email_login.useradmin import EmailLoginAdmin\n\n\n class MyUserAdmin(EmailLoginAdmin):\n add_form = EmailAccountCreationForm\n add_fieldsets = (\n (None, {\n 'classes': ('wide',),\n 'fields': ('email', 'password1', 'password2', 'email_user')}\n ),\n )\n\n admin.site.unregister(User)\n admin.site.register(User, MyUserAdmin)\n\nand adding the line ``import useradmin`` to your ``urls.py`` **after** the\noverrides described above.\n\n.. _django-user-creation: http://bitbucket.org/tino/django-user-creation", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/futurecolors/django-email-login", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-email-login-fc", "package_url": "https://pypi.org/project/django-email-login-fc/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-email-login-fc/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/futurecolors/django-email-login" }, "release_url": "https://pypi.org/project/django-email-login-fc/0.3.2/", "requires_dist": null, "requires_python": null, "summary": "A Django application that enables you to have your users use their email address instead of their username", "version": "0.3.2" }, "last_serial": 819202, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "d83c41a23989bc5a6c2c765e37624e00", "sha256": "d8657faaa04d49f0ed1f3392d88f65d73e3df1cee2f2589f8fc94fdc55b4e00c" }, "downloads": -1, "filename": "django-email-login-fc-0.3.0.zip", "has_sig": false, "md5_digest": "d83c41a23989bc5a6c2c765e37624e00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16201, "upload_time": "2013-04-19T12:06:55", "url": "https://files.pythonhosted.org/packages/36/ca/fba69b882192c598fac3db5af72c5c1243c48db1004fe77619b6ecaf57cc/django-email-login-fc-0.3.0.zip" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "7f9d173526a2de3665f29f42ae81e30d", "sha256": "5421c642d739b4450f8a32bdfe490d3bea75c782b8edd40e52dc9015945c1228" }, "downloads": -1, "filename": "django-email-login-fc-0.3.1.zip", "has_sig": false, "md5_digest": "7f9d173526a2de3665f29f42ae81e30d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17598, "upload_time": "2013-04-19T12:12:12", "url": "https://files.pythonhosted.org/packages/aa/8b/fc28c76d7f02028077daa8c91205a03d1983ba5a4e3b4cbac662ef458ba0/django-email-login-fc-0.3.1.zip" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "f36c00e6a944cea9881cb9f9aa49c62d", "sha256": "5c28e1dc29c8e00a85f43af5e83a61a9d2bfe2bd33b90ff653094f82536b12e4" }, "downloads": -1, "filename": "django-email-login-fc-0.3.2.zip", "has_sig": false, "md5_digest": "f36c00e6a944cea9881cb9f9aa49c62d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18951, "upload_time": "2013-04-23T12:23:48", "url": "https://files.pythonhosted.org/packages/a6/dc/70a6a551332d71651bd7b9c762c7f052c7abdb879073c5277ec75745d582/django-email-login-fc-0.3.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f36c00e6a944cea9881cb9f9aa49c62d", "sha256": "5c28e1dc29c8e00a85f43af5e83a61a9d2bfe2bd33b90ff653094f82536b12e4" }, "downloads": -1, "filename": "django-email-login-fc-0.3.2.zip", "has_sig": false, "md5_digest": "f36c00e6a944cea9881cb9f9aa49c62d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18951, "upload_time": "2013-04-23T12:23:48", "url": "https://files.pythonhosted.org/packages/a6/dc/70a6a551332d71651bd7b9c762c7f052c7abdb879073c5277ec75745d582/django-email-login-fc-0.3.2.zip" } ] }