A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://django-improved-user.readthedocs.io/en/latest/source/managers.html below:

Website Navigation


Managers — Django Improved User 2.1.0 documentation

Managers
class improved_user.managers.UserManager(*args, **kwargs)[source]

Manager for Users; overrides create commands for new fields

Meant to be interacted with via the user model.

User.objects  # the UserManager
User.objects.all()  # has normal Manager/UserManager methods
User.objects.create_user  # overrides methods for Improved User

Set to objects by AbstractUser

create_superuser(email, password, **extra_fields)[source]

Save new User with is_staff and is_superuser set to True

create_user(email=None, password=None, **extra_fields)[source]

Save new User with email and password


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4