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 Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
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 Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
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