| 109 | |
| 110 | If 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 | |
| 114 | Of course, you've read the [http://www.djangoproject.com/documentation/templates_python/#extending-the-template-system documentation], right? |
| 115 | Here'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) |