newauth.admin

class newauth.admin.UserBaseAdmin(model, admin_site)
class newauth.admin.BasicUserAdmin(model, admin_site)
add_form

alias of BasicUserCreationForm

change_password_form

alias of PasswordChangeForm

get_fieldsets(request, obj=None)

Hook for specifying fieldsets.

get_form(request, obj=None, **kwargs)

Use special form during user creation

class newauth.admin.BasicUserCreationForm(*args, **kwargs)

A form that creates a user, with no privileges, from the given username and password.

save(commit=True)

Save this form’s self.instance object if commit=True. Otherwise, add a save_m2m() method to the form which can be called after the instance is saved manually at a later time. Return the model instance.

class newauth.admin.PasswordChangeForm(user, *args, **kwargs)

A form used to change the password of a user in the admin interface.

save(commit=True)

Saves the new password.