2008-08-31 19:11:20 +08:00
|
|
|
def empty_view(request, *args, **kwargs):
|
|
|
|
pass
|
2008-09-27 14:14:11 +08:00
|
|
|
|
|
|
|
def kwargs_view(request, arg1=1, arg2=2):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def absolute_kwargs_view(request, arg1=1, arg2=2):
|
|
|
|
pass
|
2010-08-06 21:47:56 +08:00
|
|
|
|
|
|
|
class ViewClass(object):
|
|
|
|
def __call__(self, request, *args, **kwargs):
|
|
|
|
pass
|
|
|
|
|
|
|
|
view_class_instance = ViewClass()
|