Python: Support full-path import of Django View class

requestHandler still MISSING :(
This commit is contained in:
Rasmus Wriedt Larsen
2021-01-27 17:41:39 +01:00
parent 61d69f2cc8
commit 54725ccbb9
2 changed files with 272 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ class ClassView(View, Foo):
return HttpResponse('ClassView get: {}'.format(untrusted)) # $HttpResponse
# direct import with full path to `View` class (not supported)
# direct import with full path to `View` class (previously not supported)
class ClassView2(django.views.generic.base.View):
def get(self, request): # $ MISSING: requestHandler
pass