Fixes in documentation
This commit is contained in:
parent
cfb70403c1
commit
dc58175760
13 changed files with 119 additions and 113 deletions
|
|
@ -21,7 +21,7 @@ class GenerateAdminClass:
|
|||
t (PTemplate): Template used for the class. Normally template subclassed from admin_t PTemplate
|
||||
|
||||
Attributes:
|
||||
model (WebModel) The webmodel used for generate the admin model form
|
||||
model (WebModel): The webmodel used for generate the admin model form
|
||||
t (PTemplate): Template used for the class. Normally template subclassed from admin_t PTemplate
|
||||
list (SimpleList): A SimpleList class used for generate the listing
|
||||
arr_fields_edit (list): A list with the fields that the user can edit
|
||||
|
|
@ -83,7 +83,8 @@ class GenerateAdminClass:
|
|||
|
||||
Depending of op_admin arg, you have the different sections of a simple administrator
|
||||
|
||||
|
||||
Returns:
|
||||
html (str): The html content of the admin page, can be, items list, forms for create items, etc...
|
||||
"""
|
||||
|
||||
op_admin=request.args.get('op_admin', '0')
|
||||
|
|
@ -251,7 +252,7 @@ class GenerateConfigClass:
|
|||
t (PTemplate): Template used for the class. Normally template subclassed from admin_t PTemplate
|
||||
|
||||
Attributes:
|
||||
model (WebModel) The webmodel used for generatre the admin model form
|
||||
model (WebModel): The webmodel used for generatre the admin model form
|
||||
t (PTemplate): Template used for the class. Normally template subclassed from admin_t PTemplate
|
||||
url (str): Base url used by GenerateConfigClass for different sections of update configuration model
|
||||
url_redirect (str): The url where user is redirect when an operation is done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue