Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Change "model" to "controller" #97

Open
remcoboerma opened this Issue · 1 comment

1 participant

remcoboerma
remcoboerma

at chapter 29 section 05 the-views#Default-page-layout in the unordere list:
"It displays both response.title and response.subtitle which can be set in a model. If they are not set, it adopts the application name as title"

Model should be controller.

Tested with 2.5.1-stable+timestamp.2013.06.06.15.39.19

remcoboerma

I see "response.title = request.application.replace('_',' ').title()" in the menu.py in the models, so the documentation is right. But if the db.py file is modified this change is overwritten by the menu.py
Maybe a little clarification is welcome in the docs, or a reference to somewhere where the load order of models is explained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.