1
0
mirror of https://github.com/django/django.git synced 2024-12-25 18:46:22 +00:00
django/tests/regressiontests/templates
Jacob Kaplan-Moss 4aa97f5c18 Fixed #6398: added an optional {% empty %} clause to the {% for %} template tag. The contents of this clause are rendered if the list iterated over turns out to be empty. Thanks, Jannis Leidel.
Astute readers will notice that the patch originally called this `default`; after consideration I decided that `empty` is a very slightly better color for this particular bikeshed.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-24 22:01:48 +00:00
..
__init__.py
context.py Fixed #4563 -- Context.pop/push/update return the top-level dictionary (the new 2007-12-02 23:57:22 +00:00
filters.py Fixed #6948 -- The join filter was escaping the literal value that was 2008-11-15 01:16:20 +00:00
loaders.py Fixed #7767 -- Fixed template egg loading test for Windows systems. 2008-07-29 06:05:15 +00:00
models.py
tests.py Fixed #6398: added an optional {% empty %} clause to the {% for %} template tag. The contents of this clause are rendered if the list iterated over turns out to be empty. Thanks, Jannis Leidel. 2008-11-24 22:01:48 +00:00
unicode.py Fixed #6057 -- Mark rendered template output as safe for auto-escaping purposes. 2007-11-30 15:32:01 +00:00
urls.py Altered a failing url template tag test to work more reliably. 2008-10-05 04:59:55 +00:00
views.py Added a couple of extra tests to ensure url tag robustness. These are an 2008-08-31 17:29:49 +00:00