Skip to main content

Use email addresses in place of usernames in Django projects.

Project description

django-email-username allows the users of your Django-powered website to use their email address to login, rather than using a separate username field.

Latest version released on PyPi Build status of the master branch

Using django-email-username

To enable django-email-username for your project you need to add emailusername to INSTALLED_APPS:

INSTALLED_APPS += ("emailusername", )

then add the following line to your settings.py:

AUTH_USER_MODEL = 'emailusername.User'

That’s it!

Documentation

Coming soon…

Installation

You can install django-email-username either via the Python Package Index (PyPI) or from source.

To install using pip,:

$ pip install django-email-username

To install using easy_install,:

$ easy_install django-email-username

You will then need to apply the migrations:

$ python manage.py migrate emailusername

Downloading and installing from source

Download the latest version of django-email-username from http://pypi.python.org/pypi/django-email-username/

You can install it by doing the following,:

$ tar xvfz django-email-username-0.0.0.tar.gz
$ cd django-email-username-0.0.0
# python setup.py install # as root

Using the development version

You can clone the git repository by doing the following:

$ git clone git://github.com/acordiner/django-email-username.git

Bug tracker

If you have any suggestions, bug reports or annoyances please report them at http://github.com/acordiner/django-email-username/issues/

License

This software is licensed under the GPL v2 License. See the LICENSE file in the top distribution directory for the full license text.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-email-username-0.0.4.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file django-email-username-0.0.4.tar.gz.

File metadata

  • Download URL: django-email-username-0.0.4.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1

File hashes

Hashes for django-email-username-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8c553a69b49928a4d589f10858656d2a0fd7de0c3b6b7e0ccea5e4a29be66959
MD5 29db30db21b23e6ca07596762d8dad00
BLAKE2b-256 88b33244234d083a72d5c9e355df738270da8a9e373e392ea0426b4bc02edda8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page