Jannis Leidel 32bd953e63 Minor renaming for consistency. il y a 14 ans
..
eggs da36e32224 Fixed #13334: Restored ability to load template tags from eggs. Again thanks Ramiro and metzen for pointers on how to find out if a module loaded from an egg has a particular submodule, and Russ for review. il y a 15 ans
templates 2ac4f175ec Fixed #15070 -- Also pass current_app and use_l10n in inclusion_tags. Thanks, raony, mk and goodtune. il y a 14 ans
templatetags 950e05c3ff Fixed #14262 -- Added new assignment_tag as a simple way to assign the result of a template tag to a context variable. Thanks, Julien Phalip. il y a 14 ans
__init__.py 97b9ad73b4 Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. il y a 18 ans
alternate_urls.py 3f528e10d5 Fixed #15012 -- Added post-rendering callbacks to TemplateResponse so that decorators (in particular, the cache decorator) can defer processing until after rendering has occurred. Thanks to Joshua Ginsberg for the draft patch. il y a 14 ans
callables.py 1286d78311 Fixed #15791 - method to signal that callable objects should not be called in templates il y a 14 ans
context.py 0659391baf Converted templates doctests into unittests. We have always been at war with doctests. il y a 14 ans
custom.py 32bd953e63 Minor renaming for consistency. il y a 14 ans
filters.py 6fb4f6e299 Fixed #13765 - 'safe' parameter for urlencode filter il y a 14 ans
loaders.py 4c468800ee Updates to the test suite to allow for newly deprecated and removed features il y a 14 ans
models.py 97b9ad73b4 Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. il y a 18 ans
nodelist.py 121d2e3678 Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. il y a 14 ans
parser.py 0659391baf Converted templates doctests into unittests. We have always been at war with doctests. il y a 14 ans
response.py afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: il y a 14 ans
smartif.py afd040d4d3 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: il y a 14 ans
tests.py 0322f2b653 Fixed #15263 -- Added support for format localization to the now template tag. Thanks to danielr and dmclain. il y a 14 ans
unicode.py 0659391baf Converted templates doctests into unittests. We have always been at war with doctests. il y a 14 ans
urls.py b579350cd1 Fixed #13275 -- Modified the parsing logic of the {% url %} tag to avoid catastrophic backtracking. Thanks to SmileyChris for the patch. il y a 15 ans
views.py f89f1c8acb Fixed #15083 -- Corrected the order of TemplateResponse middleware handling, ensuring that custom URLConfs are valid, and that ResponseMiddleware is invoked if the TemplateResponseMiddleware causes errors. Thanks to Sayane for the report. il y a 14 ans