Opened 16 years ago
Closed 16 years ago
#12490 closed (invalid)
Error in documentation for direct_to_template
| Reported by: | finngruwier | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.1 |
| Severity: | Keywords: | direct_to_template | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
On the page found here:
direct_to_template is enclosed by '' which it shouldn't be.
Change History (1)
comment:1 by , 16 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(reformatted description)
That way of specifying the view (using a string literal with the name of the view calable) is valid syntax in Django URL map entries. See
http://docs.djangoproject.com/en/dev//topics/http/urls/#the-view-prefix and http://docs.djangoproject.com/en/dev//topics/http/urls/#passing-callable-objects-instead-of-strings