1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

Changed group avatar cache key, and update version

This commit is contained in:
zhengxie
2013-02-28 17:06:04 +08:00
parent 5d769e5045
commit ada1436733
3 changed files with 36 additions and 32 deletions

View File

@@ -22,7 +22,7 @@ def get_grp_cache_key(group_id, size):
"""
Returns a cache key consisten of a group id and iamge size.
"""
return 'Group_%s_%s' % (group_id, size)
return 'Group__%s_%s' % (group_id, size)
def cache_result(func):
"""