shoop.admin.modules.users.views package¶
Submodules¶
shoop.admin.modules.users.views.detail module¶
-
class
shoop.admin.modules.users.views.detail.
BaseUserForm
(*args, **kwargs)[source]¶ Bases:
django.forms.models.ModelForm
-
base_fields
= OrderedDict([('password', <django.forms.fields.CharField object at 0x7f5302f5b6a0>), ('permission_info', <django.forms.fields.CharField object at 0x7f5302f5b7b8>), ('permission_groups', <django.forms.fields.CharField object at 0x7f5302f5b908>)])¶
-
declared_fields
= OrderedDict([('password', <django.forms.fields.CharField object at 0x7f5302f5b6a0>), ('permission_info', <django.forms.fields.CharField object at 0x7f5302f5b7b8>), ('permission_groups', <django.forms.fields.CharField object at 0x7f5302f5b908>)])¶
-
media
¶
-
-
class
shoop.admin.modules.users.views.detail.
UserDetailToolbar
(view)[source]¶ Bases:
shoop.admin.toolbar.Toolbar
-
class
shoop.admin.modules.users.views.detail.
UserDetailView
(**kwargs)[source]¶ Bases:
shoop.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name
= 'shoop/admin/users/detail.jinja'¶
-
context_object_name
= 'user'¶
-
fields
= ('username', 'email', 'first_name', 'last_name')¶
-
shoop.admin.modules.users.views.list module¶
-
class
shoop.admin.modules.users.views.list.
UserListView
(**kwargs)[source]¶ Bases:
shoop.admin.utils.views.PicotableListView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
= 'auth.User'¶
-
columns
= [<shoop.admin.utils.picotable.Column object at 0x7f5302f5b390>, <shoop.admin.utils.picotable.Column object at 0x7f5302f5b9b0>, <shoop.admin.utils.picotable.Column object at 0x7f5302f5ba20>, <shoop.admin.utils.picotable.Column object at 0x7f5302f5bb70>, <shoop.admin.utils.picotable.Column object at 0x7f5302f5bc18>, <shoop.admin.utils.picotable.Column object at 0x7f5302f5bc50>, <shoop.admin.utils.picotable.Column object at 0x7f5302f5bc88>]¶
-
shoop.admin.modules.users.views.password module¶
-
class
shoop.admin.modules.users.views.password.
PasswordChangeForm
(changing_user, target_user, *args, **kwargs)[source]¶ Bases:
django.forms.forms.Form
-
error_messages
= {'password_incorrect': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7f5302f5be48>, 'password_mismatch': <django.utils.functional.lazy.<locals>.__proxy__ object at 0x7f5302f5bcc0>}¶
-
base_fields
= OrderedDict([('old_password', <django.forms.fields.CharField object at 0x7f5302fb7080>), ('password1', <django.forms.fields.CharField object at 0x7f5302fb7128>), ('password2', <django.forms.fields.CharField object at 0x7f5302fb71d0>)])¶
-
declared_fields
= OrderedDict([('old_password', <django.forms.fields.CharField object at 0x7f5302fb7080>), ('password1', <django.forms.fields.CharField object at 0x7f5302fb7128>), ('password2', <django.forms.fields.CharField object at 0x7f5302fb71d0>)])¶
-
media
¶
-
-
class
shoop.admin.modules.users.views.password.
UserChangePasswordView
(**kwargs)[source]¶ Bases:
django.views.generic.edit.UpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
form_class
¶ alias of
PasswordChangeForm
-
template_name
= 'shoop/admin/users/change_password.jinja'¶
-
model
= 'auth.User'¶
-
title
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
-
class
shoop.admin.modules.users.views.password.
UserResetPasswordView
(**kwargs)[source]¶ Bases:
django.views.generic.detail.DetailView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
= 'auth.User'¶
-
template_name
= 'shoop/admin/users/reset_password.jinja'¶
-
title
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
shoop.admin.modules.users.views.permissions module¶
-
class
shoop.admin.modules.users.views.permissions.
PermissionChangeFormBase
(changing_user, *args, **kwargs)[source]¶ Bases:
django.forms.models.ModelForm
-
base_fields
= OrderedDict([('old_password', <django.forms.fields.CharField object at 0x7f53034ccba8>)])¶
-
declared_fields
= OrderedDict([('old_password', <django.forms.fields.CharField object at 0x7f53034ccba8>)])¶
-
media
¶
-
-
class
shoop.admin.modules.users.views.permissions.
UserChangePermissionsView
(**kwargs)[source]¶ Bases:
django.views.generic.edit.UpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name
= 'shoop/admin/users/change_permissions.jinja'¶
-
model
= 'auth.User'¶
-
title
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
Module contents¶
-
class
shoop.admin.modules.users.views.
UserListView
(**kwargs)[source]¶ Bases:
shoop.admin.utils.views.PicotableListView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
columns
= [<shoop.admin.utils.picotable.Column object at 0x7f5302f5b390>, <shoop.admin.utils.picotable.Column object at 0x7f5302f5b9b0>, <shoop.admin.utils.picotable.Column object at 0x7f5302f5ba20>, <shoop.admin.utils.picotable.Column object at 0x7f5302f5bb70>, <shoop.admin.utils.picotable.Column object at 0x7f5302f5bc18>, <shoop.admin.utils.picotable.Column object at 0x7f5302f5bc50>, <shoop.admin.utils.picotable.Column object at 0x7f5302f5bc88>]¶
-
model
= 'auth.User'¶
-
-
class
shoop.admin.modules.users.views.
UserDetailView
(**kwargs)[source]¶ Bases:
shoop.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
context_object_name
= 'user'¶
-
fields
= ('username', 'email', 'first_name', 'last_name')¶
-
template_name
= 'shoop/admin/users/detail.jinja'¶
-
-
class
shoop.admin.modules.users.views.
UserChangePasswordView
(**kwargs)[source]¶ Bases:
django.views.generic.edit.UpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
form_class
¶ alias of
PasswordChangeForm
-
model
= 'auth.User'¶
-
template_name
= 'shoop/admin/users/change_password.jinja'¶
-
title
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
-
class
shoop.admin.modules.users.views.
UserResetPasswordView
(**kwargs)[source]¶ Bases:
django.views.generic.detail.DetailView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
= 'auth.User'¶
-
template_name
= 'shoop/admin/users/reset_password.jinja'¶
-
title
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
-
class
shoop.admin.modules.users.views.
UserChangePermissionsView
(**kwargs)[source]¶ Bases:
django.views.generic.edit.UpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
= 'auth.User'¶
-
template_name
= 'shoop/admin/users/change_permissions.jinja'¶
-
title
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-