Fixed #4123 -- Changed the firstof template tag to correctly handle a literal
commit0b66f355cd56ff2fd81fb3057b5c21aee9a15ead
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sat, 20 Oct 2007 15:01:31 +0000 (20 15:01 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sat, 20 Oct 2007 15:01:31 +0000 (20 15:01 +0000)
tree517b03f9cd388becbdc922cdfd515eb2f679e802
parent0fc554fa580c40d2314520c8661774071c621b01
Fixed #4123 -- Changed the firstof template tag to correctly handle a literal
string as its last argument. Thanks, Wesley Fok and Matt Boersma.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/template/defaulttags.py
docs/templates.txt
tests/regressiontests/templates/tests.py