summaryrefslogtreecommitdiff
path: root/django/template/backends/base.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-011-1/+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
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-8/+8
|
* Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak2022-02-031-4/+4
| | | | | | | | | | | | | | | | | 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 #28906 -- Removed unnecessary bool() calls.Tim Graham2017-12-071-1/+1
|
* Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham2017-09-071-6/+5
| | | | This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
* Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen2017-06-281-5/+6
|
* Refs #27656 -- Updated django.template/tag docstring verbs according to PEP 257.Anton Samarchyan2017-02-171-8/+8
|
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-1/+1
|
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-3/+0
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+2
|
* Added Django template backend.Aymeric Augustin2014-12-281-0/+3
|
* Imported BaseEngine from the DEP.Aymeric Augustin2014-12-281-0/+80
i18n is left aside for now.