Source

django-template-lib /

Filename Size Date modified Message
12 B
1.5 KB
505 B
1.5 KB
=======================
Django Template Library
=======================

This is a collection of template tags and filters for the Django web framework.

urlback.py:
 tags:
   url_or_back:
    Returns the result of the default tag ``url`` unless it is the same target
    as the HTTP_REFERER header in which case a simple
        'javascript:history.back()'
    saves a useless hit to the server.


Copyright (C) 2010, Patrick Samson
This program is licensed under the BSD License (see the file LICENSE).