Changes between Version 34 and Version 35 of IrcFAQ


Ignore:
Timestamp:
Apr 29, 2007, 6:05:49 PM (17 years ago)
Author:
Chris Beaven
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IrcFAQ

    v34 v35  
    107107
    108108"When it's done" is the short answer. Fixed release dates are rarely set, but searching or browsing the developer list (http://groups.google.com/group/django-developers/) can be informative.
     109
     110If you always want to run with the bleeding-edge, just use the SVN trunk rather than the last release (it's kept stable and is updated nearly every day).
     111
     112== Why isn't my template tag or filter working? == #TemplateTagsAndFilters
     113
     114Of course, you've read the [http://www.djangoproject.com/documentation/templates_python/#extending-the-template-system documentation], right?
     115Here's a brief list of things to check first before asking:
     116
     117  * your filter/tag should be in a file named something like `[yourfilterlibraryname].py` (e.g. if it was `myfilter.py`, you'll use `{% load myfilter %}` in the template)
     118  * that file exists in a directory named `templatetags` and this directory is sitting inside of an ''app'' directory (e.g. `.../projectdir/appdir/templatetags`)
     119  * an empty file named `__init__.py` also exists in the `templatetags` directory (this makes the directory into a python module which can be imported)
     120  * in your project `settings.py`, the application where the `templatetags` directory is contained is in `INSTALLED_APPS`
     121  * each filter or tag in your library is decorated correctly (see docs)
Back to Top