Adrian Holovaty
|
cadc6e8c9f
|
Fixed #4658 -- Improved documentation of linebreaks and linebreaksbr. Thanks, ubernostrum and Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 21:46:38 +00:00 |
Jacob Kaplan-Moss
|
ad077ccbc0
|
Fixed #5445: added some compatibility code for the lack of __iter__ in Jython 2.2. Thanks, Leo Soto.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 19:55:24 +00:00 |
Russell Keith-Magee
|
09145d2e5f
|
Fixed #208 -- Modernized the syntax of the cycle tag to allow for spaces and variables in cycle values. Thanks to SmileyChris and Chris McAvoy for their work on this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 02:49:21 +00:00 |
Russell Keith-Magee
|
50497e3867
|
Refs #5138 -- Refactored implementation of __contains__ in HttpRequest introduced in [6097] after a suggestion from Malcolm. Applied a similar refactor for MergeDict and Context which had comparable behavior.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-11 14:04:40 +00:00 |
Gary Wilson Jr
|
1a1a58c9f8
|
Fixed #3184 -- Changed the `unordered_list` template filter to use a more simple format, while maintaining backwards compatibility with the old format. `unordered_list` now works with a simple list of items. Thanks for the patch, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-26 01:11:20 +00:00 |
Malcolm Tredinnick
|
3b9b87792a
|
Fixed #5187 -- Minor doc tweaks. Thanks, Daniel Hahler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-18 05:43:38 +00:00 |
Adrian Holovaty
|
3517550dac
|
Fixed #5006 -- Fixed incorrect/outdated docstring for the 'if' template tag. Thanks, Thomas Petazzoni
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-06 05:28:45 +00:00 |
Gary Wilson Jr
|
304381616f
|
Fixed #4952 -- Fixed the `get_template_sources` functions of the `app_directories` and `filesystem` template loaders to not return paths outside of given template directories. Both functions now make use of a new `safe_join` utility function. Thanks to SmileyChris for help with the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-23 04:45:01 +00:00 |
Malcolm Tredinnick
|
e27a7ef360
|
Fixed #4842 -- Added slightly more robust error reporting. Thanks, Thomas
Güttler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-13 10:56:30 +00:00 |
Malcolm Tredinnick
|
8c85ddf306
|
Fixed #4772 -- Fixed reverse URL creation to work with non-ASCII arguments.
Also included a test for non-ASCII strings in URL patterns, although that
already worked correctly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-07 18:24:27 +00:00 |
Malcolm Tredinnick
|
953badbea5
|
Merged Unicode branch into trunk (r4952:5608). This should be fully
backwards compatible for all practical purposes.
Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-04 12:11:04 +00:00 |
Malcolm Tredinnick
|
fc20eeec47
|
Fixed a Python 2.3 incompatibility I overlooked in [5516].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-06-23 06:02:17 +00:00 |
Malcolm Tredinnick
|
08aa5c585b
|
Fixed #4607 -- Tweaked checks for features missing in Python 2.3 to not assume
things Python does not guarantee. Patch from SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-06-23 03:18:22 +00:00 |
Malcolm Tredinnick
|
880e3cfaa6
|
Backed out the changes in [5482] for a bit whilst some more investigation into
side-effects is done. Refs #4565.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-06-22 07:15:04 +00:00 |
Malcolm Tredinnick
|
b0fa08b9e0
|
Trivial formatting changes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-06-17 09:46:04 +00:00 |
Malcolm Tredinnick
|
2a34fbe043
|
Fixed #4506 -- Changed "regroup" template tag to use __eq__ instead of repr()
for grouping equality checking. Thanks, Brian Harring.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-06-17 07:33:18 +00:00 |
Malcolm Tredinnick
|
bccb8897e6
|
Fixed #4565 -- Changed template rendering to use iterators, rather than
creating large strings, as much as possible. This is all backwards compatible.
Thanks, Brian Harring.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-06-17 07:11:37 +00:00 |
Malcolm Tredinnick
|
03ecc00f6e
|
Fixed #4462 -- Use builtin reversed() function when available (in "for" tag).
Thanks, Brian Harring.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-06-10 03:11:10 +00:00 |
Russell Keith-Magee
|
16269c4d0a
|
Fixed #3523 -- Added list unpacking to for loops in templates. Thanks to SmileyChris and Honza Kral for their work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-06-08 11:58:03 +00:00 |
Adrian Holovaty
|
603d5cc05a
|
Fixed #4441 -- Made a small optimization to the regroup template tag implementation. Thanks, ferringb@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-31 15:32:37 +00:00 |
Malcolm Tredinnick
|
dfdf7bdc5e
|
Fixed #4378 -- Fixed a broken format string.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-24 12:28:53 +00:00 |
Malcolm Tredinnick
|
faa31732ca
|
Fixed #3753 -- Allow optional display of invalid variable name in
TEMPLATE_STRING_IF_INVALID. Thanks, Matt McClanahan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-08 03:36:16 +00:00 |
Malcolm Tredinnick
|
c675ee7612
|
Fixed #4180 -- Fixed docstring typo noticed by Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-28 13:31:44 +00:00 |
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 |