Remove testing line from viewname middleware

This commit is contained in:
Gergely Polonkai 2014-06-16 15:22:34 +02:00
parent 1b4fc90a5d
commit 06fb6b3a09

View File

@ -1,5 +1,5 @@
class ViewNameMiddleware(object):
def process_view(self, request, view_func, view_args, view_kwargs):
request.test = "TEST"
request.view_name = ".".join((view_func.__module__, view_func.__name__))
request.view_name = "."
+ join((view_func.__module__, view_func.__name__))