django/tests/regressiontests/urlpatterns_reverse/views.py

15 lines
288 B
Python

def empty_view(request, *args, **kwargs):
pass
def kwargs_view(request, arg1=1, arg2=2):
pass
def absolute_kwargs_view(request, arg1=1, arg2=2):
pass
class ViewClass(object):
def __call__(self, request, *args, **kwargs):
pass
view_class_instance = ViewClass()