Remove testing line from viewname middleware
This commit is contained in:
parent
1b4fc90a5d
commit
06fb6b3a09
@ -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__))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user