app/soc/views/models/base.py
changeset 2021 3ab5d0d73f38
parent 2002 7698408e10a5
child 2076 1cd180cc56c9
equal deleted inserted replaced
2020:df3552deba66 2021:3ab5d0d73f38
   144              page_name=None, params=None, **kwargs):
   144              page_name=None, params=None, **kwargs):
   145     """Displays the admin page for the entity specified by **kwargs.
   145     """Displays the admin page for the entity specified by **kwargs.
   146 
   146 
   147     Params usage:
   147     Params usage:
   148       rights: The rights dictionary is used to check if the user has
   148       rights: The rights dictionary is used to check if the user has
   149         the required rights to view the public page for this entity.
   149         the required rights to view the admin page for this entity.
   150         See checkAccess for more details on how the rights dictionary
   150         See checkAccess for more details on how the rights dictionary
   151         is used to check access rights.
   151         is used to check access rights.
   152       name: The name value is used to set the entity_type in the
   152       name: The name value is used to set the entity_type in the
   153         context so that the template can refer to it.
   153         context so that the template can refer to it.
   154       public_template: The public_template value is used as template
   154       public_template: The public_template value is used as template
   870       form: the form that will be used and set in the context
   870       form: the form that will be used and set in the context
   871       params: a dict with params for this View
   871       params: a dict with params for this View
   872       template: if specified, this template is
   872       template: if specified, this template is
   873 
   873 
   874     Params usage:
   874     Params usage:
   875       name: The name_plural value is used to set the entity_type
   875       name: The name value is used to set the entity_type
   876        value in the context so that the template can refer to it.
   876        value in the context so that the template can refer to it.
   877       name_plural: same as name, but used to set entity_type_plural
   877       name_plural: same as name, but used to set entity_type_plural
   878       name_short: same as name, but used to set entity_type_short
   878       name_short: same as name, but used to set entity_type_short
   879       url_name: same as name, but used to set entity_type_url
   879       url_name: same as name, but used to set entity_type_url
   880       edit_template: The edit_template value is used as template when
   880       edit_template: The edit_template value is used as template when