Changes between Version 101 and Version 102 of RemovingTheMagic
- Timestamp:
- Apr 15, 2006, 3:16:07 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemovingTheMagic
v101 v102 229 229 230 230 Custom template tags created via {{{inclusion_tag()}}} should note the explicit template name (with the extension). For example, use {{{inclusion_tag('foo/bar.html')}}} instead of {{{inclusion_tag('foo/bar')}}}. 231 232 If you're using custom {{{template_name}}} arguments to generic views, don't forget to change those calls in your URLconf, too. 231 233 232 234 Finally, note the syndication framework, which looks for templates with the name of the slug of each feed, now requires an '.html' extension on those templates. For example, if your feed has a slug {{{"hello"}}}, the syndication framework will look for the templates {{{feeds/hello_title.html}}} and {{{feeds/hello_description.html}}}. This is backwards-compatible.