Small app that extends default Django user to have case-insensitive username.
Project description
django-case-insensitive-user
Small app that extends default Django user to have case-insensitive username.
Requirements
- Python 3.7 or later
- Django 3.2 or later
Installation
- Install
django-case-insensitive-user
using pip.
pip install requirements.txt
- Add
case_insensitive_user
toINSTALLED_APPS
list in settings.
INSTALLED_APPS = [
...
"case_insensitive_user",
]
- Set
AUTH_USER_MODEL
tocase_insensitive_user.User
in settings.
AUTH_USER_MODEL = "case_insensitive_user.User"
Features
- Works out of the box in Django admin panel
- 100% test coverage
Configuration
Configuration is done using CASE_INSENSITIVE_USER
optional dictionary in your settings file:
CASE_INSENSITIVE_USER = {
"VERBOSE_NAME": "Accounts", # Display name to display in admin page for this app
"CASE_INSENSITIVE_EMAIL": True, # Whether to make emails case insensitive too, False by default
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-case-insensitive-user-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c8032ec524c629eb3892bf09b0ac6b19a4aace5176a27bd6528cc19d1c26d01 |
|
MD5 | 3ce341f80c8a16d8eba0642c60f5dfab |
|
BLAKE2b-256 | fe1f4242485d3a0afcaa35e821201f9bff344a54c66df6042425e102defe0ee5 |
Close
Hashes for django_case_insensitive_user-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16e58e6411b27346bb0890388e2008c18bada5bfba3112cfe6489f25df0e5590 |
|
MD5 | ea0407299c7c3a276cce194c3982faf0 |
|
BLAKE2b-256 | 5787b5ac5044bd80986a18c98170ac0711521e4b0d4d26970c39f4f9dc566354 |