Changes between Version 101 and Version 102 of RemovingTheMagic


Ignore:
Timestamp:
Apr 15, 2006, 3:16:07 PM (18 years ago)
Author:
Adrian Holovaty
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