==================
Django email users
==================
For when you want regular Django users but email as usernames.
This is a stock replacement for Django's `auth.User` model that removes the
`username` field in favor of a unique `email` field.
Both the `User` model and the forms enforce lower
cased email addresses to ensure uniqueness without
surprises.
Inspired by the `users` module in pydanny's original `Django cookiecutter
project template <https://github.com/pydanny/cookiecutter-django/>`_ which I
kept using and then editing to support email addresses.
Installing
----------
Install and download with pip::
pip install django-email-users
Add to your installed apps in your settings.py file::
INSTALLED_APPS = [
...
'users',
]
Change your project's configured user in your settings.py file::
AUTH_USER_MODEL = 'users.User'
Profit.
Raw data
{
"_id": null,
"home_page": null,
"name": "django-email-users",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "django-email-users",
"author": null,
"author_email": "Ben Lopatin <ben@benlopatin.com>",
"download_url": "https://files.pythonhosted.org/packages/63/b0/c9ff6140511ef176e9d04609d829c6dcde21ae3ea9b8639c6518f23406c2/django_email_users-2.1.0.tar.gz",
"platform": null,
"description": "==================\nDjango email users\n==================\n\nFor when you want regular Django users but email as usernames.\n\nThis is a stock replacement for Django's `auth.User` model that removes the\n`username` field in favor of a unique `email` field.\nBoth the `User` model and the forms enforce lower\ncased email addresses to ensure uniqueness without\nsurprises.\n\nInspired by the `users` module in pydanny's original `Django cookiecutter\nproject template <https://github.com/pydanny/cookiecutter-django/>`_ which I\nkept using and then editing to support email addresses.\n\nInstalling\n----------\n\nInstall and download with pip::\n\n pip install django-email-users\n\nAdd to your installed apps in your settings.py file::\n\n INSTALLED_APPS = [\n ...\n 'users',\n ]\n\nChange your project's configured user in your settings.py file::\n\n AUTH_USER_MODEL = 'users.User'\n\nProfit.\n",
"bugtrack_url": null,
"license": "BSD License",
"summary": "Stock user app but without usernames",
"version": "2.1.0",
"project_urls": {
"Homepage": "https://github.com/bennylope/django-email-users"
},
"split_keywords": [
"django-email-users"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "0fe131c93461208853126383a5a9c6c9a63989881f8cc12ed049fbbcb947b88b",
"md5": "57d8140d3a585b746302f05984f42aad",
"sha256": "73f488ae75451344ac2a5388fe366879262671595236dda1ed66fdd8de5462c0"
},
"downloads": -1,
"filename": "django_email_users-2.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "57d8140d3a585b746302f05984f42aad",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 8572,
"upload_time": "2025-01-26T15:52:40",
"upload_time_iso_8601": "2025-01-26T15:52:40.139639Z",
"url": "https://files.pythonhosted.org/packages/0f/e1/31c93461208853126383a5a9c6c9a63989881f8cc12ed049fbbcb947b88b/django_email_users-2.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "63b0c9ff6140511ef176e9d04609d829c6dcde21ae3ea9b8639c6518f23406c2",
"md5": "85614d3490f03d88e6ead33cc412d4b2",
"sha256": "096992cbc309d754c077ce01a09316ea9bc2040b136963adfa2ff1e87cf1bc36"
},
"downloads": -1,
"filename": "django_email_users-2.1.0.tar.gz",
"has_sig": false,
"md5_digest": "85614d3490f03d88e6ead33cc412d4b2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 6043,
"upload_time": "2025-01-26T15:52:38",
"upload_time_iso_8601": "2025-01-26T15:52:38.269700Z",
"url": "https://files.pythonhosted.org/packages/63/b0/c9ff6140511ef176e9d04609d829c6dcde21ae3ea9b8639c6518f23406c2/django_email_users-2.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-26 15:52:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bennylope",
"github_project": "django-email-users",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "django-email-users"
}