mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed E305 flake8 warnings.
This commit is contained in:
committed by
Tim Graham
parent
6072de727f
commit
967be82443
@@ -31,6 +31,7 @@ def pass_resolver_match_view(request, *args, **kwargs):
|
||||
response.resolver_match = request.resolver_match
|
||||
return response
|
||||
|
||||
|
||||
uncallable = None # neither a callable nor a string
|
||||
|
||||
|
||||
@@ -38,6 +39,7 @@ class ViewClass(object):
|
||||
def __call__(self, request, *args, **kwargs):
|
||||
return HttpResponse('')
|
||||
|
||||
|
||||
view_class_instance = ViewClass()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user