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.
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
Hashes for django-email-username-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3c06d15b20d06de77538116734c6f14683b1703cd153415250510f0368d832b |
|
MD5 | 190ae6e0ccfb9c7c9eb45cb3f7558655 |
|
BLAKE2b-256 | 20aa5e40b40ca4064ef357502aa82f453715de09d48ab98d69b907c79ec519f8 |