| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fixed #34518 -- Fixed crash of random() template filter with an empty list. | David Sanders | 2023-04-26 | 1 | -0/+5 |
| | | |||||
| * | Fixed #34427 -- Improved error message when context processor does not ↵ | David Sanders | 2023-03-29 | 1 | -1/+28 |
| | | | | | return a dict. | ||||
| * | Fixed some typos in comments, docstrings, and tests. | Liyang Zhang | 2023-03-20 | 1 | -1/+1 |
| | | |||||
| * | Fixed #34363 -- Fixed floatformat crash on zero with trailing zeros. | Panagiotis H.M. Issaris | 2023-02-22 | 1 | -0/+4 |
| | | | | | Regression in 08c5a787262c1ae57f6517d4574b54a5fcaad124. Follow up to 4b066bde692078b194709d517b27e55defae787c. | ||||
| * | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | 2023-02-01 | 2 | -2/+0 |
| | | | | | | | | | Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | ||||
| * | Fixed #34272 -- Fixed floatformat crash on zero with trailing zeros to zero ↵ | David Wobrock | 2023-01-19 | 1 | -0/+2 |
| | | | | | | | | | decimal places. Regression in 08c5a787262c1ae57f6517d4574b54a5fcaad124. Thanks Andrii Lahuta for the report. | ||||
| * | Fixed #33879 -- Improved timesince handling of long intervals. | GianpaoloBranca | 2023-01-04 | 1 | -0/+17 |
| | | |||||
| * | Fixed #27654 -- Propagated alters_data attribute to callables overridden in ↵ | LightDiscord | 2022-11-04 | 1 | -0/+63 |
| | | | | | | | | subclasses. Thanks Shai Berger and Adam Johnson for reviews and the implementation idea. | ||||
| * | Fixed #34098 -- Fixed loss of precision for Decimal values in floatformat ↵ | Vlastimil Zíma | 2022-10-24 | 1 | -0/+4 |
| | | | | | | filter. Regression in 12f7928f5a455e330c0a7f19bc86b37baca12811. | ||||
| * | Fixed #33864 -- Deprecated length_is template filter. | Nick Pope | 2022-07-23 | 1 | -1/+18 |
| | | |||||
| * | Fixed #33631 -- Marked {% blocktranslate asvar %} result as HTML safe. | cheng | 2022-07-14 | 1 | -0/+16 |
| | | |||||
| * | Fixed #33748 -- Fixed date template filter crash with lazy format. | Claude Paroz | 2022-05-31 | 1 | -0/+5 |
| | | | | | Regression in 659d2421c7adbbcd205604002d521d82d6b0b465. | ||||
| * | Normalized imports of functools.wraps. | Aymeric Augustin | 2022-05-25 | 1 | -2/+2 |
| | | | | | | @wraps is 10 times more common than @functools.wraps. Standardize to the most common version. | ||||
| * | Fixed #33653 -- Fixed template crash when calling methods for built-in types ↵ | cheng | 2022-05-20 | 1 | -0/+8 |
| | | | | | | | without required arguments. Regression in 09341856ed9008875c1cc883dc0c287670131458. | ||||
| * | Fixed #33628 -- Ignored directories with empty names in autoreloader check ↵ | Manel Clos | 2022-04-11 | 1 | -0/+11 |
| | | | | | | | for template changes. Regression in 68357b2ca9e88c40fc00d848799813241be39129. | ||||
| * | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 61 | -301/+800 |
| | | |||||
| * | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 130 | -4953/+6799 |
| | | |||||
| * | Fixed #33473 -- Fixed detecting changes by autoreloader in .py files inside ↵ | Hrushikesh Vaidya | 2022-02-03 | 1 | -0/+13 |
| | | | | | template directories. | ||||
| * | Refs #33476 -- Refactored problematic code before reformatting by Black. | Mariusz Felisiak | 2022-02-03 | 3 | -7/+5 |
| | | | | | | | | | | | | | | | | | | In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], ) | ||||
| * | Fixed CVE-2022-22818 -- Fixed possible XSS via {% debug %} template tag. | Markus Holtermann | 2022-02-01 | 2 | -10/+46 |
| | | | | | | | Thanks Keryn Knight for the report. Co-authored-by: Adam Johnson <me@adamj.eu> | ||||
| * | Fixed CVE-2021-45116 -- Fixed potential information disclosure in dictsort ↵ | Florian Apolloner | 2022-01-04 | 2 | -2/+63 |
| | | | | | | | | | template filter. Thanks to Dennis Brinkrolf for the report. Co-authored-by: Adam Johnson <me@adamj.eu> | ||||
| * | Fixed #33302 -- Made element_id optional argument for json_script template ↵ | Baptiste Mispelon | 2021-11-22 | 1 | -0/+5 |
| | | | | | | | filter. Added versionchanged note in documentation | ||||
| * | Fixed #32873 -- Deprecated settings.USE_L10N. | Claude Paroz | 2021-09-14 | 3 | -9/+4 |
| | | | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
| * | Fixed #30086, Refs #32873 -- Made floatformat template filter independent of ↵ | Mariusz Felisiak | 2021-09-08 | 1 | -2/+14 |
| | | | | | USE_L10N. | ||||
| * | Fixed #33036 -- Made simple_tag()/inclusion_tag() with takes_context raise ↵ | Matt Westcott | 2021-08-19 | 3 | -0/+42 |
| | | | | | TemplateSyntaxError when function has no parameters. | ||||
| * | Refs #33002 -- Added DebugLexer/Lexer.tokenize() test for trailing text token. | Mariusz Felisiak | 2021-08-09 | 1 | -0/+2 |
| | | |||||
| * | Refs #33002 -- Made template_tests.tests.py's tests test both Lexer and ↵ | Chris Jerdonek | 2021-08-09 | 1 | -32/+45 |
| | | | | | DebugLexer. | ||||
| * | Refs #32990 -- Added tests for DebugLexer/Lexer.tokenize(). | Greg Twohig | 2021-08-09 | 1 | -0/+40 |
| | | |||||
| * | Added test for TemplateSyntaxError when variables begin with underscores. | Mariusz Felisiak | 2021-08-02 | 1 | -5/+6 |
| | | |||||
| * | Refs #32956 -- Corrected spelling of "gray". | David Smith | 2021-08-02 | 1 | -2/+2 |
| | | |||||
| * | Refs #32956 -- Changed "afterwards" to "afterward" in docs and comments. | David Smith | 2021-07-27 | 1 | -12/+12 |
| | | | | | | | This also removes unnecessary comments with the previous spelling. AP Stylebook has a short entry to advise the preferred spelling for "en-us". "Afterwards" is preferred in British English. | ||||
| * | Fixed #28935 -- Fixed display of errors in extended blocks. | cammil | 2021-07-02 | 3 | -1/+19 |
| | | | | | | | Get the template that caused the exception and get the exception info from that template, using the node that caused the exception. | ||||
| * | Fixed #32824 -- Improved performance of NodeList.render(). | Keryn Knight | 2021-06-11 | 1 | -1/+1 |
| | | | | | | | | | | | | This avoids the following: - checking that each item in the nodelist is a subclass of Node, - calling str() on the render_annotated() output, because it's documented that Node.render() must return a string, - calling mark_safe() on the output, when the value to be wrapped is definitively known to be a string because the result of ''.join() is always of that type, - using an intermediate list to store each individual string. | ||||
| * | Refs #24121 -- Added __repr__() to AdminForm, BlockContext, ↵ | saeedblanchette | 2021-06-10 | 3 | -0/+38 |
| | | | | | BlockTranslateNode, and IncludeNode. | ||||
| * | Refs #24121 -- Added __repr__() to Engine | abhiabhi94 | 2021-06-01 | 1 | -0/+37 |
| | | |||||
| * | Fixed #32744 -- Normalized to pathlib.Path in autoreloader check for ↵ | Hasan Ramezani | 2021-05-26 | 1 | -0/+20 |
| | | | | | template changes. | ||||
| * | Refs #24121 -- Added__repr__() to StaticNode. | saeedblanchette | 2021-05-12 | 1 | -0/+15 |
| | | |||||
| * | Refs #24121 -- Added __repr__() to Origin and Template. | Tiago Honorato | 2021-03-17 | 2 | -0/+17 |
| | | |||||
| * | Refs #21429 -- Added SimpleTestCase.assertNoLogs() on Python < 3.10. | François Freitag | 2021-03-02 | 1 | -3/+2 |
| | | |||||
| * | Refs #24121 -- Added __repr__() to URLNode. | Rohith PR | 2021-03-02 | 1 | -0/+21 |
| | | |||||
| * | Refs #24121 -- Added __repr__() to FilterExpression, Lexer, Parser, and Token. | David Smith | 2021-02-26 | 1 | -1/+17 |
| | | |||||
| * | Refs #32394 -- Changed STATIC_URL/MEDIA_URL to relative paths in tests and ↵ | Markus Holtermann | 2021-02-06 | 1 | -1/+1 |
| | | | | | docs where appropriate. | ||||
| * | Fixed #32290 -- Fixed TemplateNotFound in {% include %} tag for relative ↵ | Hasan Ramezani | 2021-01-27 | 2 | -0/+7 |
| | | | | | path in variable. | ||||
| * | Refs #32290 -- Added {% extends %} test for relative path in variable. | Hasan Ramezani | 2021-01-27 | 2 | -0/+9 |
| | | |||||
| * | Refs #25236 -- Removed {% ifequal %} and {% ifnotequal %} template tags per ↵ | Mariusz Felisiak | 2021-01-14 | 3 | -276/+2 |
| | | | | | deprecation timeline. | ||||
| * | Fixed #32208 -- Allowed adding lazy() objects. | Hasan Ramezani | 2020-12-21 | 1 | -0/+17 |
| | | | | | Co-authored-by: Claude Paroz <claude@2xlibre.net> | ||||
| * | Refs #15053 -- Clarified debug message when skipping templates to avoid ↵ | Daniel Hahler | 2020-11-21 | 1 | -1/+6 |
| | | | | | recursion. | ||||
| * | Changed docs and a code comment to use gender-neutral pronouns. | Nick Pope | 2020-11-13 | 1 | -1/+1 |
| | | | | Follow up to e1b77238171cc96f4451a06fb4682e2378896238. | ||||
| * | Fixed #25791 -- Implement autoreload behaviour for cached template loader. | Tom Forbes | 2020-11-05 | 1 | -0/+92 |
| | | |||||
| * | Refs #25791 -- Added get_dirs() method to cached template loader. | Tom Forbes | 2020-11-05 | 1 | -0/+4 |
| | | |||||
