physics_workload.users.forms ============================ .. py:module:: physics_workload.users.forms Classes ------- .. autoapisummary:: physics_workload.users.forms.CustomUserCreationForm physics_workload.users.forms.CustomUserChangeForm Module Contents --------------- .. py:class:: CustomUserCreationForm(*args, **kwargs) Bases: :py:obj:`django.contrib.auth.forms.UserCreationForm` A form that creates a user, with no privileges, from the given username and password. This is the documented base class for customizing the user creation form. It should be kept mostly unchanged to ensure consistency and compatibility. .. py:class:: Meta .. py:attribute:: model .. py:attribute:: fields :value: ('username', 'email') .. py:class:: CustomUserChangeForm(*args, **kwargs) Bases: :py:obj:`django.contrib.auth.forms.UserChangeForm` The main implementation of all the Form logic. Note that this class is different than Form. See the comments by the Form class for more info. Any improvements to the form API should be made to this class, not to the Form class. .. py:class:: Meta .. py:attribute:: model .. py:attribute:: fields :value: ('username', 'email')