mirror of
https://github.com/django/django.git
synced 2025-11-18 19:01:40 +00:00
This commit is contained in:
parent
4fcbdb11b1
commit
968397228f
6 changed files with 32 additions and 6 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue