django-email-users


Namedjango-email-users JSON
Version 2.0.0 PyPI version JSON
download
home_pageNone
SummaryStock user app but without usernames
upload_time2024-03-10 16:02:47
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseBSD License
keywords django-email-users
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            ==================
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/3e/53/eb8d494ccb6ee51acc686cc1c67b847092cdb8aa13d6bfecba30cf60f048/django_email_users-2.0.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.0.0",
    "project_urls": {
        "Homepage": "https://github.com/bennylope/django-email-users"
    },
    "split_keywords": [
        "django-email-users"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "5e5d13694297b52251eaee11a24524624d6045994785c16c03084dbf23777172",
                "md5": "59d29b7e7472bcb4bf42394df28a170d",
                "sha256": "f5d345622a22c5fba6804433d0e3e2a93a8edfbeb3bf33fb0694301be5b216cb"
            },
            "downloads": -1,
            "filename": "django_email_users-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "59d29b7e7472bcb4bf42394df28a170d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 8570,
            "upload_time": "2024-03-10T16:02:48",
            "upload_time_iso_8601": "2024-03-10T16:02:48.966003Z",
            "url": "https://files.pythonhosted.org/packages/5e/5d/13694297b52251eaee11a24524624d6045994785c16c03084dbf23777172/django_email_users-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3e53eb8d494ccb6ee51acc686cc1c67b847092cdb8aa13d6bfecba30cf60f048",
                "md5": "ec6d0a23f50ceff03bd2dc23c11e6a98",
                "sha256": "a4c9e7721d86a8e5371491b1ae843519de20f319bf4f14168f058d6f5ac9df6a"
            },
            "downloads": -1,
            "filename": "django_email_users-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ec6d0a23f50ceff03bd2dc23c11e6a98",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 6043,
            "upload_time": "2024-03-10T16:02:47",
            "upload_time_iso_8601": "2024-03-10T16:02:47.464419Z",
            "url": "https://files.pythonhosted.org/packages/3e/53/eb8d494ccb6ee51acc686cc1c67b847092cdb8aa13d6bfecba30cf60f048/django_email_users-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-10 16:02:47",
    "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"
}
        
Elapsed time: 0.23748s