mirror of
https://github.com/django/django.git
synced 2025-12-04 00:55:36 +00:00
Refs #23919 -- Stopped inheriting from object to define new style classes.
This commit is contained in:
parent
a556396339
commit
cecc079168
293 changed files with 512 additions and 514 deletions
|
|
@ -35,7 +35,7 @@ class TestingHttpRequest(HttpRequest):
|
|||
return getattr(self, '_is_secure_override', False)
|
||||
|
||||
|
||||
class CsrfViewMiddlewareTestMixin(object):
|
||||
class CsrfViewMiddlewareTestMixin:
|
||||
"""
|
||||
Shared methods and tests for session-based and cookie-based tokens.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue