From ca8263ecf33798acc01bb4a5f5aeb3d8005da026 Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Thu, 16 Jan 2014 11:55:47 -0500 Subject: [PATCH] Fix to make user profile display --- karmaworld/apps/users/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karmaworld/apps/users/views.py b/karmaworld/apps/users/views.py index 1cfd9ac..ce51d84 100644 --- a/karmaworld/apps/users/views.py +++ b/karmaworld/apps/users/views.py @@ -11,8 +11,8 @@ class ProfileView(TemplateView, SingleObjectMixin): model = User context_object_name = 'user' # name passed to template template_name = 'user_profile.html' + object = None def get_object(self, queryset=None): - u = self.request.user return self.request.user -- 2.25.1