Django

Code

Ticket #6832 (new)

Opened 2 months ago

Add description and usage note about decorators in URLconf to the url dispatcher docs

Reported by: ramiro Assigned to: nobody
Component: Documentation Version: SVN
Keywords: Cc:
Triage Stage: Unreviewed Has patch: 1
Needs documentation: Needs tests:
Patch needs improvement:

Description

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.

Attachments

decor_view_parm_in_urlconf.diff (1.1 kB) - added by ramiro on 03/19/08 09:33:56.

Change History

03/19/08 09:33:56 changed by ramiro

  • attachment decor_view_parm_in_urlconf.diff added.

Add/Change #6832 (Add description and usage note about decorators in URLconf to the url dispatcher docs)




Change Properties
Action