Fix ViewName middleware after accidentally changing . to +

This commit is contained in:
Gergely Polonkai 2014-06-19 08:49:15 +00:00
parent ca1bd74985
commit 1b8bbb55fe

View File

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