.. |
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.
|
15 anos atrás |
templates
|
2ac4f175ec
Fixed #15070 -- Also pass current_app and use_l10n in inclusion_tags. Thanks, raony, mk and goodtune.
|
14 anos atrás |
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.
|
14 anos atrás |
__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.
|
18 anos atrás |
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.
|
14 anos atrás |
callables.py
|
1286d78311
Fixed #15791 - method to signal that callable objects should not be called in templates
|
14 anos atrás |
context.py
|
0659391baf
Converted templates doctests into unittests. We have always been at war with doctests.
|
14 anos atrás |
custom.py
|
32bd953e63
Minor renaming for consistency.
|
14 anos atrás |
filters.py
|
6fb4f6e299
Fixed #13765 - 'safe' parameter for urlencode filter
|
14 anos atrás |
loaders.py
|
d41a25ebc6
Fixed import error that was causing EggLoader tests not to be run
|
14 anos atrás |
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.
|
18 anos atrás |
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.
|
14 anos atrás |
parser.py
|
0659391baf
Converted templates doctests into unittests. We have always been at war with doctests.
|
14 anos atrás |
response.py
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 anos atrás |
smartif.py
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 anos atrás |
tests.py
|
0638ba5bba
Enhanced a bit the documentation and docstring for the url template tag. Also, added a test for it.
|
14 anos atrás |
unicode.py
|
0659391baf
Converted templates doctests into unittests. We have always been at war with doctests.
|
14 anos atrás |
urls.py
|
b579350cd1
Fixed #13275 -- Modified the parsing logic of the {% url %} tag to avoid catastrophic backtracking. Thanks to SmileyChris for the patch.
|
15 anos atrás |
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.
|
14 anos atrás |