Change "model" to "controller" #97

Closed
remcoboerma opened this Issue Aug 15, 2013 · 1 comment

Projects

None yet

2 participants

@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.

@mdipierro mdipierro closed this Jul 29, 2016
@mdipierro mdipierro added a commit that referenced this issue Jul 29, 2016
@mdipierro mdipierro fixed issue #97 f2e56f3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment