Tim Graham
|
70a80ff1be
|
Added a urlize test for wrapping characters.
|
2018-10-12 08:13:52 +02:00 |
Sergey Fedoseev
|
8ef8bc0f64
|
Refs #28909 -- Simplifed code using unpacking generalizations.
|
2018-09-28 09:57:12 -04:00 |
Jon Dufresne
|
bb81c22d90
|
Refs #27795 -- Removed force_bytes() usage in utils/_os.py.
|
2018-09-25 11:27:36 -04:00 |
Claude Paroz
|
201017df30
|
Fixed #29654 -- Made text truncation an ellipsis character instead of three dots.
Thanks Sudhanshu Mishra for the initial patch and Tim Graham for the review.
|
2018-08-21 17:46:45 +02:00 |
luz.paz
|
97e637a87f
|
Fixed typos in comments and docs.
|
2018-08-01 16:09:22 -04:00 |
Dražen Odobašić
|
9f3b9ffd51
|
Fixed #29617 -- Fixed Template crash if template_string is lazy.
Regression in 3a148f958d .
|
2018-07-31 09:57:11 -04:00 |
Hasan Ramezani
|
cebbcaa1ba
|
Moved yesno filter test to its file.
|
2018-07-27 17:15:00 -04:00 |
ryabtsev
|
b4fd9b5ad4
|
Fixed #29432 -- Allowed passing an integer to the slice template filter.
|
2018-05-26 20:56:51 -04:00 |
Ryan Rubin
|
a8d12bc280
|
Fixed #29400 -- Fixed crash in custom template filters that use decorated functions.
Regression in 620e9dd31a .
|
2018-05-25 11:11:46 -04:00 |
Claude Paroz
|
9c4ea63e87
|
Replaced TOKEN_* constants by TokenType enums.
Thanks Tim Graham for the review.
|
2018-05-10 17:51:51 +02:00 |
Claude Paroz
|
523e04dfeb
|
Captured logging in tests with self.assertLogs().
|
2018-05-07 09:34:02 -04:00 |
Tim Graham
|
a917a5601f
|
Refs #23890 -- Removed numpy deprecation warning silencing.
Obsolete since numpy 1.12.0.
|
2018-04-18 22:09:26 -04:00 |
Jirka Vejrazka
|
6148dda72f
|
Fixed #29288 -- Made {% widthratio %} assign to as var if an exception occurs.
|
2018-04-04 14:03:16 -04:00 |
Hasan Ramezani
|
76ae1e9a94
|
Increased test coverage for {% get_admin_log %} and {% static %}.
|
2018-03-26 13:34:23 -04:00 |
Mads Jensen
|
4554f9a783
|
Increased test coverage for various template tags.
|
2018-03-24 19:56:46 -04:00 |
Mads Jensen
|
bb79e480e1
|
Increased test coverage for i18n template tags.
|
2018-03-21 08:38:07 -04:00 |
Mariusz Felisiak
|
362813d628
|
Fixed hanging indentation in various code.
|
2018-03-16 10:54:34 +01:00 |
Hasan Ramezani
|
5033999153
|
Fixed #29154 -- Corrected examples in pluralize docstring and added tests.
|
2018-02-23 14:20:00 -05:00 |
Jonas Haag
|
8c709d79cb
|
Fixed #17419 -- Added json_tag template filter.
|
2018-02-07 18:38:12 -05:00 |
Mariusz Felisiak
|
9bcf73d788
|
Fixed imports per isort 4.3.0.
|
2018-02-01 09:29:46 +01:00 |
Roger Gammans
|
d0b44c44ef
|
Fixed #29060 -- Made {% firstof %} assign '' to the asvar if all inputs are false.
|
2018-01-25 13:40:51 -05:00 |
Jon Dufresne
|
ff05de760c
|
Fixed #29038 -- Removed closing slash from HTML void tags.
|
2018-01-21 02:09:10 -05:00 |
Levi Payne
|
6c3104221b
|
Refs #28721 -- Added test for variations of 'inf'/'infinity' as a template variable names.
Fixed by 9ec7d8e514 .
|
2017-10-21 20:55:26 -04:00 |
Claude Paroz
|
9ec7d8e514
|
Fixed #28730 -- Fixed loss of precision for large integer literals in templates
Thanks Fraser Nevett for the report and Tim Graham for patch edits.
|
2017-10-21 17:20:29 +02:00 |
Mads Jensen
|
f7036b3e26
|
Fixed #28662 -- Silenced join template filter error if arg isn't iterable.
|
2017-10-20 09:46:31 -04:00 |
Tim Graham
|
1399f8ae77
|
Refs #28711 -- Replaced ugettext_lazy() with gettext_lazy() in a test.
As per c651331b34 .
|
2017-10-18 20:07:36 -04:00 |
Jonas Haag
|
d997ab7764
|
Fixed #28711 -- Fixed unordered_list template filter with lazy translations.
|
2017-10-18 19:45:10 -04:00 |
Jonas Haag
|
b21b1b10af
|
Refs #23260 -- Tested nested generator input to unordered_list template filter.
|
2017-10-18 19:37:30 -04:00 |
Mads Jensen
|
86367a11d3
|
Added tests for invalid {% for %} usage and ForLoop.__repr__().
|
2017-10-05 11:33:14 -04:00 |
Mads Jensen
|
aba3467585
|
Added tests for invalid {% autoescape %} usage.
|
2017-10-02 11:02:58 -04:00 |
Mads Jensen
|
25307089bc
|
Completed test coverage for default template filters.
|
2017-09-30 18:34:51 -04:00 |
Tim Graham
|
e62165b898
|
Refs #27175 -- Removed exception silencing from the {% include %} template tag.
Per deprecation timeline.
|
2017-09-22 12:51:18 -04:00 |
Claude Paroz
|
ed77bea582
|
Refs #28502 -- Complemented stringformat tuple handling/test.
An additional test and a code change were suggested in a late review.
|
2017-08-22 08:45:08 -04:00 |
Srinivas Reddy Thatiparthy
|
4ead705cb3
|
Fixed #28502 -- Made stringformat template filter accept tuples
|
2017-08-21 09:04:43 +02:00 |
Srinivas Reddy Thatiparthy
|
a64f88f5be
|
Refs #28502 -- Completed stringformat filter tests
|
2017-08-19 21:22:59 +02:00 |
Mads Jensen
|
a51c4de194
|
Used assertRaisesMessage() to test Django's error messages.
|
2017-07-29 19:07:23 -04:00 |
John D'Ambrosio
|
be68c0bf63
|
Fixed #28071 -- Fixed {% extends %} origin history.
|
2017-06-13 12:50:54 -04:00 |
Jon Dufresne
|
2c69824e5a
|
Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.
|
2017-06-01 19:08:59 -04:00 |
Alexander Allakhverdiyev
|
a7c6c705e8
|
Fixed #28129 -- Allowed custom template tags to use keyword-only arguments.
|
2017-05-11 10:09:44 -04:00 |
kapil garg
|
dbfcedb499
|
Fixed #28001 -- Updated comment and tested context popping in ForNode.render().
|
2017-04-06 19:04:29 -04:00 |
kapil garg
|
002fe07622
|
Fixed #27974 -- Kept resolved templates constant during one rendering cycle.
Thanks Florian Apolloner for the initial patch.
|
2017-04-03 22:29:39 -04:00 |
Carlton Gibson
|
6b3724fa11
|
Fixed #27359 -- Made Engine.get_default() return the first DjangoTemplates engine if multiple are defined.
|
2017-03-31 17:26:42 -04:00 |
Carlton Gibson
|
7019724101
|
Added tests for template's Engine.get_default().
|
2017-03-31 10:59:00 -04:00 |
Tim Graham
|
e643ba8bcf
|
Fixed #27956 -- Fixed display of errors in an {% extends %} child.
Thanks Ling-Xiao Yang for the report and test, and
Preston Timmons for the fix.
|
2017-03-25 08:22:12 -04:00 |
Bo Marchman
|
7a7b331cd5
|
Fixed #27882 -- Allowed {% cache %} to cache indefinitely.
|
2017-03-15 13:01:21 -04:00 |
Vytis Banaitis
|
3dcc351691
|
Refs #23919 -- Used yield from.
|
2017-02-23 20:06:01 -05:00 |
Tim Graham
|
fe2d288434
|
Fixed #27722 -- Reallowed using django.Template in {% include %}.
|
2017-02-11 06:51:57 -05:00 |
Claude Paroz
|
3a148f958d
|
Refs #27795 -- Removed force_text from the template layer
Thanks Tim Graham for the review.
|
2017-02-07 17:14:02 +01:00 |
Ryan O’Hara
|
7c4289d0b9
|
Fixed #27783 -- Switched VariableDoesNotExist.__str__() to repr() context.
Using __str__() and then repr'ing the result looks strange and can lead
to recursive rendering of forms.
|
2017-02-06 17:53:21 -05:00 |
Mads Jensen
|
ce69a421f6
|
Added tests for various __repr__() methods.
|
2017-02-04 11:29:39 -05:00 |