summaryrefslogtreecommitdiff
path: root/tests/admin_docs/views.py
diff options
context:
space:
mode:
authorsai-ganesh-03 <sandursaiganesh@gmail.com>2024-10-31 19:10:00 +0530
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-11-04 10:43:06 +0100
commit968397228fe03968bb855856532569586c8a8a1c (patch)
treef755f974db18f58a6ef5b61e6a873bb04d2eb7d3 /tests/admin_docs/views.py
parent4fcbdb11b114bc4d2dc50663f8053de2f18c0770 (diff)
Fixed #35867, Refs #2411 -- Allowed links in admindocs view details summary.
Diffstat (limited to 'tests/admin_docs/views.py')
-rw-r--r--tests/admin_docs/views.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/admin_docs/views.py b/tests/admin_docs/views.py
index 21fe382bba..5bccaf29a0 100644
--- a/tests/admin_docs/views.py
+++ b/tests/admin_docs/views.py
@@ -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()