diff options
| author | Mads Jensen <mje@inducks.org> | 2019-07-18 08:13:01 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-09-24 15:18:53 +0200 |
| commit | 129583a0d3cf69b08d058cd751d777588801b7ad (patch) | |
| tree | 942c8e699445b6c13dc7b43869d1fee999eb8134 /tests/template_tests/syntax_tests | |
| parent | aad46ee274b0e294ac055cc199e6595de4ef4164 (diff) | |
| download | django-129583a0d3cf69b08d058cd751d777588801b7ad.tar.gz | |
Removed some outdated backwards compatibility imports and misleading comments.
EmptyResultSet moved in 46509cf13dbf049f75077981c29ef2c60b5a96ab.
FieldDoesNotExist moved in 8958170755b37ce346ae5257c1000bd936faa3b0.
BoundField and pretty_name moved in 8550161e531a603d57723850fb09c4c9b7ca60b9.
EMPTY_VALUES moved in 471596fc1afcb9c6258d317c619eaf5fd394e797.
BaseRunserverCommand moved in 5c53e30607014163872e89c221b206992a9acfef.
Diffstat (limited to 'tests/template_tests/syntax_tests')
| -rw-r--r-- | tests/template_tests/syntax_tests/test_basic.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/template_tests/syntax_tests/test_basic.py b/tests/template_tests/syntax_tests/test_basic.py index 0a1c10cee8..e4a2643ae7 100644 --- a/tests/template_tests/syntax_tests/test_basic.py +++ b/tests/template_tests/syntax_tests/test_basic.py @@ -1,4 +1,5 @@ -from django.template.base import Context, TemplateSyntaxError +from django.template.base import TemplateSyntaxError +from django.template.context import Context from django.test import SimpleTestCase from ..utils import SilentAttrClass, SilentGetItemClass, SomeClass, setup |
