Course admins can now access student grades by going to profile/[userid]

--HG--
branch : visible-grades
This commit is contained in:
Piotr Mitros
2012-03-10 20:34:13 -05:00
parent c7c71c9458
commit f1ad393f18
3 changed files with 7 additions and 6 deletions

View File

@@ -153,7 +153,7 @@ def user_groups(user):
cache_expiration = 60 * 60 # one hour
# Kill caching on dev machines -- we switch groups a lot
if "dev" not in setting.DEFAULT_GROUPS:
if "dev" not in settings.DEFAULT_GROUPS:
group_names = cache.get(fasthash(key))
else:
group_names = None