Skip to main content

Modify Django default User to use email as unique identifier with single name

Project description

Django Basic Email User

Used to replace default Django User model with 'email', instead of the 'username', as the unique identifer. Also removes ['username', 'first_name', 'last_name'] fields and adding a 'name' field (required).

The Django admin panel is customised to accommodate these changes, along with the User forms basic_email_user.forms.CustomUserCreationForm and basic_email_user.forms.CustomUserChangeForm

Simply add basic_email_user to your installed apps, configure the AUTH_USER_MODEL, and run the migrations

INSTALLED_APPS = [
    ...
    'basic_email_user'
]

AUTH_USER_MODEL = 'basic_email_user.User'

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-basic-email-user, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_basic_email_user-0.1.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page