diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-07 13:59:08 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-07 13:59:08 +0530 |
commit | 3a708b304319afe84ebf3d40ecebabe6acc339f3 (patch) | |
tree | b72f391dbe4d5370394c546f94e10d6edaa17a63 /docs/_build/html/_sources/autoapi/app/views/admin | |
parent | 359813517e3382c527125fe673fa89f0fd0742c0 (diff) |
started work on automatic documentation
Diffstat (limited to 'docs/_build/html/_sources/autoapi/app/views/admin')
-rw-r--r-- | docs/_build/html/_sources/autoapi/app/views/admin/index.rst.txt | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/docs/_build/html/_sources/autoapi/app/views/admin/index.rst.txt b/docs/_build/html/_sources/autoapi/app/views/admin/index.rst.txt new file mode 100644 index 0000000..f9ea549 --- /dev/null +++ b/docs/_build/html/_sources/autoapi/app/views/admin/index.rst.txt @@ -0,0 +1,55 @@ +:mod:`app.views.admin` +====================== + +.. py:module:: app.views.admin + +.. autoapi-nested-parse:: + + SuperUser/Admin portal using flask-admin + + + +Module Contents +--------------- + +Classes +~~~~~~~ + +.. autoapisummary:: + + app.views.admin.ModelView + + + + +Attributes +~~~~~~~~~~ + +.. autoapisummary:: + + app.views.admin.admin + + +.. data:: admin + + + Initialised Admin Portal + + +.. class:: ModelView(model, session, name=None, category=None, endpoint=None, url=None, static_folder=None, menu_class_name=None, menu_icon_type=None, menu_icon_value=None) + + + Bases: :py:obj:`flask_admin.contrib.sqla.ModelView` + + Our extended ModelView Class + + Refer to Flask-Admin Docs for more details + + https://flask-admin.readthedocs.io/en/latest/introduction/?highlight=ModelView#modelview-configuration-attributes + + .. method:: is_accessible(self) + + This function checks if a user should be given access or not + + + |