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.1.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

django_user_email-1.1.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file django_user_email-1.1.1.tar.gz.

File metadata

  • Download URL: django_user_email-1.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for django_user_email-1.1.1.tar.gz
Algorithm Hash digest
SHA256 6f1a0e53d98ba4aaa8ee287ac3fbd6f63ee356d2b40d6ce4f814c8a721948865
MD5 d4ff06008072bb47256f5b00af275d77
BLAKE2b-256 7601c0e4b6dd90462e8860849bcaa36c25adc1afd4618f8b580dddec76bb4ab3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_user_email-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 58ca89b417e59bb7315547140b7d3c6f2c5b29097dd4c22682988c7138df0af8
MD5 0e4262075caa66c4e3d2c53cc04d110c
BLAKE2b-256 abe0e2ecb98f713e53f49cf1305bebf7578437af8237a0036c1471742d9c8946

See more details on using hashes here.

Supported by

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