diff gcalendar/views.py @ 789:9e803323a0d0

Removing AUTH_PROFILE_MODULE and get_profile().
author Brian Neal <bgneal@gmail.com>
date Fri, 23 May 2014 15:10:11 -0500
parents ee87ea74d46b
children 74e84f5fc948
line wrap: on
line diff
--- a/gcalendar/views.py	Sun May 18 17:43:37 2014 -0500
+++ b/gcalendar/views.py	Fri May 23 15:10:11 2014 -0500
@@ -20,8 +20,7 @@
 def index(request):
     user = request.user
     if user.is_authenticated():
-        profile = user.get_profile()
-        tz = profile.time_zone
+        tz = user.profile.time_zone
     else:
         tz = 'US/Pacific'