kotti.views.users¶
User management screens
- kotti.views.users.name_pattern_validator(node, value)[source]¶
>>> name_pattern_validator(None, 'bob') >>> name_pattern_validator(None, 'b ob') Traceback (most recent call last): ... colander.Invalid: <unprintable Invalid object> >>> name_pattern_validator(None, 'b:ob') Traceback (most recent call last): colander.Invalid: <unprintable Invalid object>
- class kotti.views.users.UserAddFormView(context, request, **kwargs)[source]¶
- form_options = (('formid', 'deform_user_add'),)¶
Two-tuple of options to pass as keyword arguments when instantiating the form instance of
form_class. Any options that can be passed to this class’__init__can be provided here.
- buttons = (<deform.form.Button object>, <deform.form.Button object>)¶
Tuple of buttons or strings to pass to the form instance. Override in your derived class.
- class kotti.views.users.GroupAddFormView(context, request, **kwargs)[source]¶
- form_options = (('formid', 'deform_group_add'),)¶
Two-tuple of options to pass as keyword arguments when instantiating the form instance of
form_class. Any options that can be passed to this class’__init__can be provided here.
- buttons = (<deform.form.Button object>, <deform.form.Button object>)¶
Tuple of buttons or strings to pass to the form instance. Override in your derived class.
- class kotti.views.users.UsersManage(context, request)[source]¶
- class UserAddFormView(context, request, **kwargs)¶
- buttons = (<deform.form.Button object>, <deform.form.Button object>)¶
Tuple of buttons or strings to pass to the form instance. Override in your derived class.
- form_options = (('formid', 'deform_user_add'),)¶
Two-tuple of options to pass as keyword arguments when instantiating the form instance of
form_class. Any options that can be passed to this class’__init__can be provided here.
- class GroupAddFormView(context, request, **kwargs)¶
- buttons = (<deform.form.Button object>, <deform.form.Button object>)¶
Tuple of buttons or strings to pass to the form instance. Override in your derived class.
- form_options = (('formid', 'deform_group_add'),)¶
Two-tuple of options to pass as keyword arguments when instantiating the form instance of
form_class. Any options that can be passed to this class’__init__can be provided here.
- class kotti.views.users.UserManageFormView(context, request, **kwargs)[source]¶
- buttons = (<deform.form.Button object>, <deform.form.Button object>, <deform.form.Button object>)¶
Tuple of buttons or strings to pass to the form instance. Override in your derived class.
- before(form)[source]¶
Performs some processing on the
formprior to rendering.By default, this method does nothing. Override this method in your dervived class to modify the
form. Your function will be executed immediately after instansiating the form instance in__call__()(thus before obtaining widget resources, considering buttons, or rendering).
- class kotti.views.users.UserManage(context, request)[source]¶
- class GroupManageFormView(context, request, **kwargs)¶
- class UserManageFormView(context, request, **kwargs)¶
- before(form)¶
Performs some processing on the
formprior to rendering.By default, this method does nothing. Override this method in your dervived class to modify the
form. Your function will be executed immediately after instansiating the form instance in__call__()(thus before obtaining widget resources, considering buttons, or rendering).
- buttons = (<deform.form.Button object>, <deform.form.Button object>, <deform.form.Button object>)¶
Tuple of buttons or strings to pass to the form instance. Override in your derived class.
- class kotti.views.users.Preferences(context, request)[source]¶
- class PreferencesFormView(context, request, **kwargs)¶
- kotti.views.users.includeme(config)[source]¶
Pyramid includeme hook.
- Parameters
config (
pyramid.config.Configurator) – app config