summaryrefslogtreecommitdiff
path: root/tests/regressiontests/urlpatterns_reverse/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/urlpatterns_reverse/views.py')
-rw-r--r--tests/regressiontests/urlpatterns_reverse/views.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/regressiontests/urlpatterns_reverse/views.py b/tests/regressiontests/urlpatterns_reverse/views.py
index 99c00bde70..27dca3d0e2 100644
--- a/tests/regressiontests/urlpatterns_reverse/views.py
+++ b/tests/regressiontests/urlpatterns_reverse/views.py
@@ -6,3 +6,9 @@ def kwargs_view(request, arg1=1, arg2=2):
def absolute_kwargs_view(request, arg1=1, arg2=2):
pass
+
+class ViewClass(object):
+ def __call__(self, request, *args, **kwargs):
+ pass
+
+view_class_instance = ViewClass()