kotti.views.edit.content¶
-
class
kotti.views.edit.content.DocumentAddForm(context, request, **kwargs)[source]¶ -
schema_factory¶ alias of
DocumentSchema
-
add¶ alias of
kotti.resources.Document
-
-
class
kotti.views.edit.content.DocumentEditForm(context, request, **kwargs)[source]¶ -
schema_factory¶ alias of
DocumentSchema
-
-
class
kotti.views.edit.content.FileAddForm(context, request, **kwargs)[source]¶ -
item_class¶ alias of
kotti.resources.File
-
-
class
kotti.views.edit.content.FileEditForm(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).
-
-
kotti.views.edit.content.includeme(config)[source]¶ Pyramid includeme hook.
Parameters: config ( pyramid.config.Configurator) – app config