diff --git a/gergelypolonkaiweb/middleware/viewname.py b/gergelypolonkaiweb/middleware/viewname.py index ac7d576..0a36f5e 100644 --- a/gergelypolonkaiweb/middleware/viewname.py +++ b/gergelypolonkaiweb/middleware/viewname.py @@ -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__))