Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
53bd2089
Commit
53bd2089
authored
Aug 01, 2015
by
Petrus J.v.Rensburg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note on 'can_view_details' flag to documentation. #942
parent
3cbca053
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
introduction.rst
doc/introduction.rst
+6
-0
No files found.
doc/introduction.rst
View file @
53bd2089
...
@@ -49,6 +49,7 @@ Straight out of the box, this gives you a set of fully featured *CRUD* views for
...
@@ -49,6 +49,7 @@ Straight out of the box, this gives you a set of fully featured *CRUD* views for
* A `list` view, with support for searching, sorting and filtering and deleting records.
* A `list` view, with support for searching, sorting and filtering and deleting records.
* A `create` view for adding new records.
* A `create` view for adding new records.
* An `edit` view for updating existing records.
* An `edit` view for updating existing records.
* An optional, read-only `detail` view.
There are many options available for customizing the display and functionality of these builtin views.
There are many options available for customizing the display and functionality of these builtin views.
For more details on that, see :ref:`customising-builtin-views`. For more details on the other
For more details on that, see :ref:`customising-builtin-views`. For more details on the other
...
@@ -221,6 +222,11 @@ To **disable some of the CRUD operations**, set any of these boolean parameters:
...
@@ -221,6 +222,11 @@ To **disable some of the CRUD operations**, set any of these boolean parameters:
can_edit = False
can_edit = False
can_delete = False
can_delete = False
If your model has too much data to display in the list view, you can **add a read-only
detail view** by setting::
can_view_details = True
**Removing columns** from the list view is easy, just pass a list of column names for
**Removing columns** from the list view is easy, just pass a list of column names for
the *column_excludes_list* parameter::
the *column_excludes_list* parameter::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment