Skip to main content

RKM's Humble Opinion: A custom Django user model for best practices email-based login.

Project description

A “RKM’s Humble Opinion” package for Django’s Custom User model.

A custom Django user model that encompasses best practices:

  • Email-based login

  • “Full name”/”Short name”, rather than the “First name”/”Last name”

    antipattern

Usage:

  • Add rhouser to INSTALLED_APPS

  • Add AUTH_USER_MODEL=”rhouser.User” to your settings.py file.

To run tests:

Run:

> python runtests.py

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

rho-django-user-1.0.0.tar.gz (10.8 kB view hashes)

Uploaded source

Built Distribution

rho_django_user-1.0.0-py3-none-any.whl (13.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page