We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4abea89 commit 228b70dCopy full SHA for 228b70d
tagging/tests/utils.py
@@ -1,14 +1,8 @@
1
"""
2
Tests utils for tagging.
3
4
+from django.template import Origin
5
from django.template.loaders.base import Loader
-try:
6
- from django.template import Origin
7
-except ImportError:
8
- class Origin(object):
9
- def __init__(self, **kwargs):
10
- for k, v in kwargs.items():
11
- setattr(self, k, v)
12
13
14
class VoidLoader(Loader):
0 commit comments