.. _install: Installing django-filter ------------------------ To install, simply place the ``jmb.filters`` as a dependancy (i.e. in your ``install_requires`` of your setup.py) and add it to your ``INSTALLED_APPS``. We provide a ``change_list.html`` that adds a js static to handle the advanced_search form and adds a templatetags for the form, so place jmb.filters high enough in your ``INSTALLED_APPS``:: INSTALLED_APPS = [ 'flat_responsive', 'jmb.filters', 'django.contrib.admin', 'django.contrib.auth', ... This ``change_list.html`` uses a way to reference the templates that implemennts the following syntax:: {% extends "admin:admin/change_list.html" %} (that is also adopted by admin_tools). Add the relative template loader:: TEMPLATES = [{ 'OPTIONS': { 'loaders': [ 'jmb.filters.admin.templateloader.Loader', #'admin_tools.template_loaders.Loader', 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', ] ... If you don't have a ``setup.py`` (and I don't understand why people don't use it), add ``jmb.filters`` to your ``requirements.txt``.