diff membermap/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 89b240fe9297
children 0ca691cccf8d
line wrap: on
line diff
--- a/membermap/views.py	Sun May 18 17:43:37 2014 -0500
+++ b/membermap/views.py	Fri May 23 15:10:11 2014 -0500
@@ -132,7 +132,7 @@
     cache.delete(CACHE_KEY)
 
     avatar_url = None
-    profile = entry.user.get_profile()
+    profile = entry.user.profile
     if profile.avatar and profile.avatar.url:
         avatar_url = profile.avatar.url