2013-10-15 07:29:03 +00:00
|
|
|
class ViewNameMiddleware(object):
|
|
|
|
def process_view(self, request, view_func, view_args, view_kwargs):
|
2014-06-16 13:22:34 +00:00
|
|
|
request.view_name = "."
|
|
|
|
+ join((view_func.__module__, view_func.__name__))
|
2013-10-15 07:29:03 +00:00
|
|
|
|