Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update docs/main/Extensions/Crud/index.rst #22

Merged
merged 1 commit into from

2 participants

@pihentagy

Describe the title option.

@amol- amol- merged commit 03d77eb into from
@amol-
Owner

Thanks, I have totally missed both the pull requests.

@pihentagy pihentagy deleted the branch
@pihentagy

NP, it's always better late than never

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 11, 2013
  1. @pihentagy
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 0 deletions.
  1. +5 −0 docs/main/Extensions/Crud/index.rst
View
5 docs/main/Extensions/Crud/index.rst
@@ -88,6 +88,8 @@ add utility methods on the fly::
class TicketCrudController(EasyCrudRestController):
model = Ticket
+ title = "My admin title"
+
__form_options__ = {
'__hide_fields__':['_id', 'status', 'sprint'],
'__field_order__':['title', 'description'],
@@ -101,6 +103,9 @@ add utility methods on the fly::
'sprint':('sprint', lambda ticket:ticket.sprint.project.last_sprint),
}
+The ``title`` option provides a way to customize the title displayed in the titlebar
+of your browser.
+
The ``__form_options__`` dictionary will permit to tune the forms configuration.
The specified options will be applied to both the form used to create new entities
and to edit the existing ones.
Something went wrong with that request. Please try again.