summaryrefslogtreecommitdiff
path: root/tests/template_tests/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Normalized imports of functools.wraps.Aymeric Augustin2022-05-251-2/+2
| | | | | @wraps is 10 times more common than @functools.wraps. Standardize to the most common version.
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-13/+18
|
* Made test_once a keyword argument in template_tests.utils.setup().Jon Dufresne2020-05-211-4/+4
| | | | | Replaces the kwargs.get(...) pattern. Helps avoid typos by providing a better error message in case of misuse.
* Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis2017-01-261-1/+1
|
* Refs #23919 -- Removed misc references to Python 2.Tim Graham2017-01-211-1/+1
|
* Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham2017-01-201-2/+1
| | | These functions do nothing on Python 3.
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-3/+3
|
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-4/+0
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-4/+0
|
* Fixed #27140 -- Prevented template rendering from hiding a property's TypeError.Tim Graham2016-08-311-0/+4
|
* Refs #24022 -- Removed the ssi tag per deprecation timeline.Tim Graham2015-09-231-3/+0
|
* Fixed #17085, #24783 -- Refactored template library registration.Preston Timmons2015-05-211-39/+7
| | | | | | * Converted the ``libraries`` and ``builtins`` globals of ``django.template.base`` into properties of the Engine class. * Added a public API for explicit registration of libraries and builtins.
* Cleaned up template loader tests.Preston Timmons2015-02-241-0/+1
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+1
|
* Fixed #23913 -- Deprecated the `=` comparison in `if` template tag.Ola Sitarska2015-01-111-1/+6
|
* Deprecated TEMPLATE_STRING_IF_INVALID.Aymeric Augustin2014-12-281-8/+8
|
* Isolated template tests from Django settings.Aymeric Augustin2014-12-281-25/+32
|
* Cleaned up the django.template namespace.Aymeric Augustin2014-12-281-4/+6
| | | | | | | | | Since this package is going to hold both the implementation of the Django Template Language and the infrastructure for Multiple Template Engines, it should be untied from the DTL as much as possible within our backwards-compatibility policy. Only public APIs (i.e. APIs mentioned in the documentation) were left.
* Fixed #23958 -- Rewrote filter tests as unit tests.Preston Timmons2014-12-061-0/+206