Changes between Version 101 and Version 102 of RemovingTheMagic


Ignore:
Timestamp:
04/15/2006 03:16:07 PM (9 years ago)
Author:
adrian
Comment:

Added note about URLconfs

Legend:

Unmodified
Added
Removed
Modified
  • RemovingTheMagic

    v101 v102  
    229229
    230230Custom 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
     232If you're using custom {{{template_name}}} arguments to generic views, don't forget to change those calls in your URLconf, too.
    231233
    232234Finally, 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.
Back to Top