mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
* 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.
This commit is contained in:
@@ -4,6 +4,7 @@ from ..utils import setup
|
||||
|
||||
|
||||
class InvalidStringTests(SimpleTestCase):
|
||||
libraries = {'i18n': 'django.templatetags.i18n'}
|
||||
|
||||
@setup({'invalidstr01': '{{ var|default:"Foo" }}'})
|
||||
def test_invalidstr01(self):
|
||||
|
||||
Reference in New Issue
Block a user