comparison 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
comparison
equal deleted inserted replaced
788:84aa49497718 789:9e803323a0d0
130 entry.save() 130 entry.save()
131 131
132 cache.delete(CACHE_KEY) 132 cache.delete(CACHE_KEY)
133 133
134 avatar_url = None 134 avatar_url = None
135 profile = entry.user.get_profile() 135 profile = entry.user.profile
136 if profile.avatar and profile.avatar.url: 136 if profile.avatar and profile.avatar.url:
137 avatar_url = profile.avatar.url 137 avatar_url = profile.avatar.url
138 138
139 u = dict(name=entry.user.username, 139 u = dict(name=entry.user.username,
140 lat=entry.lat, 140 lat=entry.lat,