Commit 53bd2089 authored by Petrus J.v.Rensburg's avatar Petrus J.v.Rensburg

Add note on 'can_view_details' flag to documentation. #942

parent 3cbca053
......@@ -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 `create` view for adding new 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.
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:
can_edit = 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
the *column_excludes_list* parameter::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment