Add description and usage note about decorators in URLconf to the url dispatcher docs
|Reported by:||ramiro||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
At least one of the three persons reporting in #5920 used the cache_page decorator in the URLconf but passed the view parameter as a string and not as a callable object itself.
The patch a) copies the usage case description from the 0.96 release notes to the main documentation and b) adds a note about that specific gotcha.
Change History (3)
Changed 8 years ago by ramiro
comment:1 Changed 8 years ago by programmerq
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted