Skip to main content

Custom, simple Django User model with email as username

Project description

django-user-email

ci status pypi link codecov
supported python versions supported django versions

InstallationContributingLicense

Custom, simple Django User model with email as username

Installation

  1. Use your preferred package manager (pip, poetry, pipenv) to install the package. For example:
$ poetry add django-user-email
  1. Then register 'user_email', in the 'INSTALLED_APPS' section of your project's settings.
# settings.py
...

INSTALLED_APPS = (
    ...
    'user_email',
)

...
  1. Set AUTH_USER_MODEL - Since it's a custom User model Django needs to know the path of the model
# settings.py
...

AUTH_USER_MODEL = 'user_email.User'

...

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT License

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-user-email-1.0.3.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_user_email-1.0.3-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file django-user-email-1.0.3.tar.gz.

File metadata

  • Download URL: django-user-email-1.0.3.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.13.0-1021-azure

File hashes

Hashes for django-user-email-1.0.3.tar.gz
Algorithm Hash digest
SHA256 1b2819d1892e0dbabb365196d180f2ad46f48deff0ad43fbe5a8ea31b6cdf5f0
MD5 1cf1fda74ecc021adf6910fb05ff1797
BLAKE2b-256 0e0b9dcc21c834ab893ed68069854306f4d80097ba9305fb1e9a55a3c7c17076

See more details on using hashes here.

File details

Details for the file django_user_email-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: django_user_email-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.13.0-1021-azure

File hashes

Hashes for django_user_email-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ae7bf18a36e2df15de4ebc9b172277b158e9e56e25236285ec63e00df00f3131
MD5 fce5930f544c17f9d8d83081be84c328
BLAKE2b-256 2c43cab0170ae57941f45a8952ccdbbe4f8694b3afbfa54f2cbf19cb718753ba

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