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.UsersManage(context, request)[source]¶ -
class
UserAddFormView(context, request, **kwargs)¶
-
class
GroupAddFormView(context, request, **kwargs)¶
-
class
-
class
kotti.views.users.UserManageFormView(context, request, **kwargs)[source]¶ -
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).
-
-
class
-
class
kotti.views.users.Preferences(context, request)[source]¶ -
class
PreferencesFormView(context, request, **kwargs)¶
-
class
-
kotti.views.users.includeme(config)[source]¶ Pyramid includeme hook.
Parameters: config ( pyramid.config.Configurator) – app config