Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 17 lines (10 sloc) 0.562 kb
f46d725 @emulbreh initial import
authored
1 `djff` provides highlighting of unified diffs for django.
2
d9fc51a @emulbreh Fixed github markup issues (maybe)
authored
3 It's based on the `django-vcs`_ port of `lodgeit`_'s diff highlighting code.
4
5 .. _django-vcs: https://github.com/alex/django-vcs/
6 .. _lodgeit: http://www.pocoo.org/projects/lodgeit/
f46d725 @emulbreh initial import
authored
7
8 Usage
9 ~~~~~
10
11 * Add ``'djff'`` to ``INSTALLED_APPS``.
12 * Add ``'django.template.loaders.app_directories.Loader'`` to ``TEMPLATE_LOADERS`` or make the djff/udiff.html template available otherwise
13 * Use the builtin filter ``{% load djff_tags %} {{ diffstring|udiff }}``
14 * Include ``static/djff.css`` or use custom CSS
15
16
Something went wrong with that request. Please try again.