Class that provides a way to add admin interface to Flask applications.
| Parameters: |
|
|---|
Registers security function for given path.
| Parameters: |
|
|---|
Checks security for specific and path.
| Parameters: | path – The path to check |
|---|
Registers new module to current admin.
Registers admin node.
| Parameters: |
|
|---|
Returns object related attributes, as it’s a template filter None is return when attribute doesn’t exists.
eg:
a = object()
a.b = object()
a.b.c = 1
recursive_getattr(a, 'b.c') => 1
recursive_getattr(a, 'b.d') => None
An AdminNode just act as navigation container, it doesn’t provide any rules.
| Parameters: |
|
|---|
Returns all parent hierarchy as list. Usefull for breadcrumbs.
Gives a way to secure specific url path.
| Parameters: | http_code – The response http code when False |
|---|
Returns the url path relative to admin one.
Class that provides a way to create simple admin module.
| Parameters: |
|
|---|
Adds a routing rule to the application from relative endpoint. view_class is copied as we need to dynamically apply decorators.
| Parameters: |
|
|---|
Gives a way to secure specific url path.
| Parameters: |
|
|---|
Returns first registered (main) rule as url.
SQLAlchemy model admin module builder.
Counts filtered list.
| Parameters: | search – The string for quick search |
|---|
alias of ObjectFormView
“Returns actions for object as and tuple list.
| Parameters: | object – The object |
|---|
Returns ordered, filtered and limited query.
| Parameters: |
|
|---|