Skip to content
diff highlighting for django
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
djff
.gitignore
LICENSE.txt
README.txt
setup.py

README.txt

`djff` provides highlighting of unified diffs for django.

It's based on the `django-vcs`_ port of `lodgeit`_'s diff highlighting code.

.. _django-vcs: https://github.com/alex/django-vcs/
.. _lodgeit: http://www.pocoo.org/projects/lodgeit/

Usage
~~~~~

 * Add ``'djff'`` to ``INSTALLED_APPS``.
 * Add ``'django.template.loaders.app_directories.Loader'`` to ``TEMPLATE_LOADERS`` or make the djff/udiff.html template available otherwise
 * Use the builtin filter ``{% load djff_tags %} {{ diffstring|udiff }}``
 * Include ``static/djff.css`` or use custom CSS


You can’t perform that action at this time.