aboutsummaryrefslogtreecommitdiff
path: root/apps/accounts/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'apps/accounts/views.py')
-rw-r--r--apps/accounts/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/accounts/views.py b/apps/accounts/views.py
index e51c60e..d463522 100644
--- a/apps/accounts/views.py
+++ b/apps/accounts/views.py
@@ -21,7 +21,7 @@ class ProfileView(UpdateViewWithUser):
template_name = "accounts/profile.html"
def get_object(self):
- return self.request.user.userprofile
+ return self.request.user.profile
class SettingsListView(DetailView):
@@ -29,4 +29,4 @@ class SettingsListView(DetailView):
template_name = "accounts/profile.html"
def get_object(self):
- return self.request.user.userprofile
+ return self.request.user.profile