#8853: admindoc :template: role should not append .html
---------------------------+------------------------------------------------
Reporter: benspaulding | Owner: nobody
Status: new | Milestone: 1.0
Component: Uncategorized | Version: SVN
Keywords: admindocs | Stage: Unreviewed
Has_patch: 1 |
---------------------------+------------------------------------------------
Many other template suffixes are used besides {{{.html}}}, for example
{{{.txt}}}, {{{.js}}}, {{{.xml}}}, etc. If developers want to document
those templates in their docstrings they are out of luck because Django
currently appends {{{.html}}} to the filename that is passed into the
view. The attached patch will fix the problem, but it is backwards
incompatible.
--
Ticket URL: <http://code.djangoproject.com/ticket/8853>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---