| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-11-18 | Refs #35844 -- Fixed copying BaseContext and its subclasses on Python 3.14+. | Mariusz Felisiak | |
| super objects are copyable on Python 3.14+: https://github.com/python/cpython/commit/5ca4e34bc1aab8321911aac6d5b2b9e75ff764d8 and can no longer be used in BaseContext.__copy__(). | |||
| 2024-06-13 | Fixed #35417 -- Updated BaseContext.new() with values to create a context ↵ | George Y. Kussumoto | |
| that can be flattened. | |||
| 2023-03-29 | Fixed #34427 -- Improved error message when context processor does not ↵ | David Sanders | |
| return a dict. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2019-10-01 | Fixed #30651 -- Made __eq__() methods return NotImplemented for not ↵ | ElizabethU | |
| implemented comparisons. Changed __eq__ to return NotImplemented instead of False if compared to an object of the same type, as is recommended by the Python data model reference. Now these models can be compared to ANY (or other objects with __eq__ overwritten) without returning False automatically. | |||
| 2019-02-21 | Fixed typos in tests/template_tests/test_context.py. | Tim Graham | |
| 2018-11-27 | Made reused RequestFactory instances class attributes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2017-01-17 | Refs #26263 -- Removed deprecated Context.has_key(). | Tim Graham | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-08-09 | Fixed #26830 -- Prevented the 'with' templatetag from resetting the cycle ↵ | Alexander Schrijver | |
| variable to its initial state. | |||
| 2016-06-16 | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| 2016-02-23 | Fixed #26263 -- Deprecated Context.has_key() | Tim Graham | |
| 2015-09-11 | Fixed #24765 -- Allowed template context updates to flatten a Context. | Buddy Lindsey, Jr | |
| 2015-05-27 | Fixed #24847 -- Prevented items set on a RequestContext from being lost. | Paweł Marczewski | |
| 2015-04-20 | Updated template tests to create their own engine. | Preston Timmons | |
| This continues work to treat Django templates as a library. | |||
| 2015-04-14 | Fixed #24603 -- Allowed Context.update() to be used as a context manager. | Tommy Beadle | |
| 2015-03-16 | Fixed #24493 -- Added BaseContext.setdefault() | Preston Timmons | |
| 2015-02-24 | Moved RequestContextTests into test_context. | Preston Timmons | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-05 | Fixed #24273 -- Allowed copying RequestContext more than once. | Aymeric Augustin | |
| Thanks Collin Anderson for the report. | |||
| 2014-05-15 | Harmonized some PEP 0263 coding preambles | Claude Paroz | |
| 2014-02-16 | Made the new template.Context.flatten() method a public API. | Marek Wywiał | |
| That method was introduced in 9db4271bd11ac23a5a5652bbcdf8fb6d4b997651. Refs #21765. | |||
| 2014-02-15 | Fixed bad comparison logic introduced in ↵ | Baptiste Mispelon | |
| d97bf2e9c8971764690caaf81a0914bc368d6b02. Refs #21765. Thanks to kezabelle for the quick report and to onjin for providing the patch. | |||
| 2014-02-15 | Fixed #21765 -- Added support for comparing Context instances | Marek Wywiał | |
| 2013-12-20 | Fixed #21639 -- Implemented RenderContext.__getitem__ | Alex Hill | |
| It's now consistent with RenderContext.get. | |||
| 2013-08-12 | Fixed #17778 -- Prevented class attributes on context from resolving as ↵ | Tim Graham | |
| template variables. Thanks KyleMac for the report, regebro for the patch, and Aymeric for the test. | |||
| 2013-07-17 | Allowed Context.push to behave as a context mananger. | Curtis Maloney | |
| Thanks Loic Bistuer for the review. | |||
| 2013-07-01 | Stopped using django.utils.unittest in the test suite. | Aymeric Augustin | |
| Refs #20680. | |||
| 2013-04-12 | Modified template_tests for unittest2 discovery. | Preston Timmons | |
