mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Removed dictionary and context_instance parameters for render functions.
Per deprecation timeline.
This commit is contained in:
parent
b3641512c8
commit
9023696613
11 changed files with 29 additions and 256 deletions
|
@ -20,9 +20,7 @@ from django.test import (
|
|||
from django.test.client import RedirectCycleError, RequestFactory, encode_file
|
||||
from django.test.utils import ContextList, str_prefix
|
||||
from django.utils._os import upath
|
||||
from django.utils.deprecation import (
|
||||
RemovedInDjango20Warning, RemovedInDjango110Warning,
|
||||
)
|
||||
from django.utils.deprecation import RemovedInDjango20Warning
|
||||
from django.utils.translation import ugettext_lazy
|
||||
|
||||
from .models import CustomUser
|
||||
|
@ -1064,7 +1062,6 @@ class ContextTests(TestDataMixin, TestCase):
|
|||
'python', 'dolly'},
|
||||
l.keys())
|
||||
|
||||
@ignore_warnings(category=RemovedInDjango110Warning)
|
||||
def test_15368(self):
|
||||
# Need to insert a context processor that assumes certain things about
|
||||
# the request instance. This triggers a bug caused by some ways of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue