Malcolm Tredinnick
|
4ac69165f8
|
Fixed #4176 -- Fixed unintended change introduced in [5104]. Thanks,
SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-28 04:45:38 +00:00 |
Malcolm Tredinnick
|
f30ca6636b
|
Minor tweak. Removed unnecessary argument default.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-27 12:27:19 +00:00 |
Malcolm Tredinnick
|
54f11ee63c
|
Fixed #4164, #4171 -- Reworked some of the template lexer logic to ensure we
don't get caught out by a couple of corner cases.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-27 12:16:22 +00:00 |
Malcolm Tredinnick
|
439cb4047f
|
Fixed #4040 -- Changed uses of has_key() to "in". Slight performance
improvement and forward-compatible with future Python releases. Patch from Gary
Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-26 13:30:48 +00:00 |
Malcolm Tredinnick
|
aa1b182da3
|
Fixed #3543 -- Be a bit more tolerant of spaces following the comma
argument separator in the "url" tag.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-25 10:29:39 +00:00 |
Malcolm Tredinnick
|
76005c917f
|
Fixed #3948 -- Added some extra relevant information to FilterExpression
parse-related error message. Thanks, philippe.raoult@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-25 07:05:31 +00:00 |
Malcolm Tredinnick
|
00cb6a1ba8
|
Fixed #4107 -- Marked a few more strings for translation. Thanks, Baptiste.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-23 05:51:29 +00:00 |
Malcolm Tredinnick
|
2a512a4e83
|
Fixed #3749 -- Set the context correctly when using the "filter" template tag.
Thanks, Zak Johnson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-21 04:44:30 +00:00 |
Malcolm Tredinnick
|
539a7ab993
|
Fixed #4098 -- fixed a syntax error when reporting errors in "with" template
tag. Thanks cephelo@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-21 04:13:52 +00:00 |
Malcolm Tredinnick
|
b6264d0452
|
Fixed #3887 -- Fixed formatting error in docstring that was causing problems in
online admin documentation. Thanks Florian Apolloner.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-03 03:45:47 +00:00 |
Russell Keith-Magee
|
9191fa1f64
|
Fixed #3532 -- Made spaceless template tag remove all spaces, rather than preserving a single space. Thanks for the suggestion, ampaze@gmx.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-01 01:09:21 +00:00 |
Adrian Holovaty
|
d22e39c10d
|
Fixed #3799 -- Added django.contrib.webdesign and moved 'lorem' template tag into there
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-30 01:50:06 +00:00 |
Russell Keith-Magee
|
5f68a26ff4
|
Fixes #3799 -- Oops - ran last checkin from the wrong directory. Checked in the rest of the lorem templatetag implementation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-29 11:43:24 +00:00 |
Jacob Kaplan-Moss
|
d6fd9fb22b
|
Fixed #3826: added a {% with %}. Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-27 17:25:56 +00:00 |
Adrian Holovaty
|
6481cf43f9
|
Fixed #3808 -- Fixed some typos in comments. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-25 18:05:01 +00:00 |
Adrian Holovaty
|
515337fa3b
|
Small tweaks to docstrings from [4700]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-16 15:20:37 +00:00 |
Malcolm Tredinnick
|
ee1ca89dd4
|
Fixed #3696 -- Fixed inline documentation to avoid some HTML validity issues.
Patch from Simon Greenhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-10 11:37:11 +00:00 |
Malcolm Tredinnick
|
659aa8f01a
|
Fixed #3693 -- Fixed RST error in floatformat docstring. Thanks, Simon
Greenhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-10 08:11:28 +00:00 |
Malcolm Tredinnick
|
8248569471
|
Fixed #3670 -- Fixed template argument parsing so that it understands negative
floats and integers as numeric types. Patch from SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-09 06:12:15 +00:00 |
Jacob Kaplan-Moss
|
19e0bf1d44
|
Fixed #3465: template variable lookups like {{ foobar.13 }} now (correctly) fail silently on unsubscriptable objects. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-27 20:25:27 +00:00 |
Jacob Kaplan-Moss
|
e7aab3a474
|
Fixed #3558: [4558] broken in Python 2.3; this fixes that breakage. Thanks for the heads-up, xian@mintchaos.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-23 23:05:16 +00:00 |
Jacob Kaplan-Moss
|
36512d5d73
|
Fixed #343: filters that take strings now handle non-strings correctly. Thanks to Boffbowsh for the original patch, and to SmileyChris for the updated patch and tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-23 18:02:51 +00:00 |
Malcolm Tredinnick
|
a4ddecd15c
|
Fixed #3155 -- Allow an integer to be passed to the urlencode filter. Patch
based on one from SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-13 05:50:55 +00:00 |
Malcolm Tredinnick
|
0fabbf8ce8
|
Fixed #2606 -- Added tag for working out the URL of a particular view function.
All work done by Ivan Sagalaev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-13 04:24:58 +00:00 |
Adrian Holovaty
|
b9677848f5
|
Small formatting tweaks to named-end-blocks change from [4489]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-12 17:13:08 +00:00 |
Malcolm Tredinnick
|
a0c354ee4e
|
Fixed #3351 -- Added optional naming of the block in "endblock" tags to ensure
correct nesting. Thanks for the patch, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-12 00:22:22 +00:00 |
Malcolm Tredinnick
|
4d75c7aa6e
|
Fixed #3071 -- added a {{{__contains__}}} method to the Context class. Thanks
akaihola.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-10 09:02:00 +00:00 |
Malcolm Tredinnick
|
5a0b72a6eb
|
Fixed #2027 -- added truncatewords_html filter that respects HTML tags whilst
truncating. Patch from SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-10 02:51:27 +00:00 |
Malcolm Tredinnick
|
9b129b8f3f
|
Fixed #3468 -- fixed typo in VariableDoesNotExist.__str__. Pointed out by
Herbert Poul.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-09 22:01:13 +00:00 |
Jacob Kaplan-Moss
|
b5f9176115
|
Fixed #3441: VariableDoesNotExist is now a bit lazier about rendering its error message. Thanks, Brian Harring.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-06 13:59:24 +00:00 |
Russell Keith-Magee
|
c3f891210a
|
Fixes #3176, #3004 -- Added an argument to the floatfilter to allow users to specify precision of floats, Thanks, Eric Floehr.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-03 05:29:34 +00:00 |
Adrian Holovaty
|
be217bce53
|
Template system now supports variables whose str() returns a Unicode object with non-ascii characters. Thanks, gabor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-05 19:48:46 +00:00 |
Adrian Holovaty
|
a84404c190
|
Formatting fixes from the past round of checkins
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 19:07:27 +00:00 |
Jacob Kaplan-Moss
|
b1b4e8e7c4
|
Fixed #2800: the ifchanged tag now can optionally take paramaters to be checked for changing (instead of always using the content). Thanks, Wolfram Kriesing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 05:36:51 +00:00 |
Jacob Kaplan-Moss
|
92151b2d28
|
Fixed #2914: filesizeformat no longer dies on invalid values. Thanks, dev@simon.net.nz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 04:58:10 +00:00 |
Jacob Kaplan-Moss
|
4cb2247327
|
Fixed #2343: Library.inclusion_tag now accepts a list of template names along with a single name. Thanks, mderk@yandex.ru
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 04:13:06 +00:00 |
Adrian Holovaty
|
41d11a685f
|
Fixed #2968 -- Changed arguments to __import__ to use empty dictionary instead of empty string, for stricter compliance with Python library reference. Thanks for the patch, Yasushi Masuda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-30 20:50:27 +00:00 |
Adrian Holovaty
|
48234a0925
|
Fixed #2961 -- Added 'opencomment' and 'closecomment' options to {% templatetag %} templatetag. Thanks for the patch, Jeong-Min Lee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-27 01:58:13 +00:00 |
Adrian Holovaty
|
60b46d72ac
|
Fixed #648 -- Added comment syntax to template system: {# #}. Thanks for the patch, mccutchen@gmail.com and Hawkeye
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 21:30:38 +00:00 |
Malcolm Tredinnick
|
9c0568e21e
|
Fixed #2208 -- Allow empty arguments to be passed to filters. Thanks, mattmcc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 07:26:07 +00:00 |
Malcolm Tredinnick
|
bd4c22be0b
|
Fixed #2454 -- Make "ifchanged" tag work more predictably inside nested
for-loops. Thanks, dummy@habmalnefrage.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 09:49:58 +00:00 |
Malcolm Tredinnick
|
670e8ab704
|
Fixed #2456 -- Added backslash escaping to addslashes, which is necessary once
you start escaping other things. Thanks, tom@eggdrop.ch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 08:41:09 +00:00 |
Malcolm Tredinnick
|
d296e5e565
|
Fixed #2743 -- Made the value of a cycle tag accessible through the context.
Patch from Martin Glueck.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-21 13:09:00 +00:00 |
Adrian Holovaty
|
cba5557c7a
|
Fixed #2645 -- Fixed format-string error in exception call in template/__init__.py. Thanks for the patch, md@hudora.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-05 00:19:50 +00:00 |
Adrian Holovaty
|
8e52384b6c
|
Added small comment to django.template.loader_tags, to clarify change from [3465]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-04 23:56:09 +00:00 |
Russell Keith-Magee
|
cfe77946d7
|
Fixes #2637 -- Clarified handling of TEMPLATE_STRING_IF_INVALID, especially with regards to filtering of invalid values. Modified unit tests to test both empty and non-empty values for TEMPLATE_STRING_IF_INVALID. Thanks to SmileyChris for identifying and helping to resolve this bug.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-04 14:02:11 +00:00 |
Russell Keith-Magee
|
8192a808bd
|
Refs #2333 - Added documentation for the test Client, and removed a stray import.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-03 02:44:15 +00:00 |
Russell Keith-Magee
|
46d7defb7d
|
Refs #2333 - Removed a call to the signal dispatcher that was mistakenly merged in.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-02 09:40:59 +00:00 |
Russell Keith-Magee
|
d043200077
|
Refs #2333 - Re-added the template rendering signal for testing purposes; however, the signal is not available during normal operation. It is only added as part of an instrumentation step that occurs during test framework setup. Previous attempt (r3659) was reverted (r3666) due to performance concerns.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-02 09:26:24 +00:00 |
Russell Keith-Magee
|
a619b2b871
|
Refs #1400 - Reverted r3269. Template variable evalution should follow Python norms.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-30 00:54:08 +00:00 |