Mads Jensen
4554f9a783
Increased test coverage for various template tags.
2018-03-24 19:56:46 -04:00
Alexander Schrijver
3ae3a1f9fa
Fixed #26830 -- Prevented the 'with' templatetag from resetting the cycle variable to its initial state.
2016-08-09 09:05:17 -04:00
Alexander Schrijver
31e053edfa
Refs #26830 -- Added a test for a named cycle template tag inside an ifchanged block and a for loop.
2016-08-09 08:47:09 -04:00
Tim Graham
27b2321793
Refs #24451 -- Removed comma-separated {% cycle %} syntax per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
57039f9661
Refs #22306 -- Removed cycle/firstof template tags from "future".
...
Per deprecation timeline.
2015-09-23 19:31:09 -04:00
Tim Graham
aaacaeb096
Renamed RemovedInDjangoXYWarnings for new roadmap.
...
Forwardport of ae1d663b79
from stable/1.8.x plus more.
2015-06-24 16:08:20 -04:00
Preston Timmons
655f524915
Fixed #17085 , #24783 -- Refactored template library registration.
...
* 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.
2015-05-21 09:12:06 -05:00
Tim Graham
c36b60836b
Fixed #24451 -- Deprecated comma-separated {% cycle %} syntax.
2015-03-07 07:42:39 -05:00
Claude Paroz
51890ce889
Applied ignore_warnings to Django tests
2014-12-30 18:16:25 +01:00
Aymeric Augustin
92a2d049a2
Isolated template tests from Django settings.
2014-12-28 16:23:01 +01:00
Preston Timmons
5c68870169
Fixed #23958 -- Rewrote filter tests as unit tests.
2014-12-06 10:57:46 -05:00
Ramiro Morales
16f26defa7
Converted recently refactored templates tests to SimpleTestCase.
...
These test methods don't need DB setup/teardown.
Refs #23768 and b872134b
.
2014-12-03 18:56:46 -05:00
Preston Timmons
b872134bfc
Fixed #23768 -- Rewrote template tests as unit tests.
2014-12-02 19:18:35 -05:00