mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
This commit is contained in:
committed by
Sarah Boyce
parent
4fcbdb11b1
commit
968397228f
@@ -18,3 +18,12 @@ class XViewClass(View):
|
||||
class XViewCallableObject(View):
|
||||
def __call__(self, request):
|
||||
return HttpResponse()
|
||||
|
||||
|
||||
class CompanyView(View):
|
||||
"""
|
||||
This is a view for :model:`myapp.Company`
|
||||
"""
|
||||
|
||||
def get(self, request):
|
||||
return HttpResponse()
|
||||
|
||||
Reference in New Issue
Block a user