Mercurial > kallithea
comparison rhodecode/model/user.py @ 1669:f522f4d3bf93 beta
moved caching query to libs
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 11 Nov 2011 19:42:10 +0200 |
parents | 1d904d972c47 |
children | cc302c98bb8e |
comparison
equal
deleted
inserted
replaced
1668:f1c87ffcfb95 | 1669:f522f4d3bf93 |
---|---|
27 import traceback | 27 import traceback |
28 | 28 |
29 from pylons.i18n.translation import _ | 29 from pylons.i18n.translation import _ |
30 | 30 |
31 from rhodecode.lib import safe_unicode | 31 from rhodecode.lib import safe_unicode |
32 from rhodecode.lib.caching_query import FromCache | |
33 | |
32 from rhodecode.model import BaseModel | 34 from rhodecode.model import BaseModel |
33 from rhodecode.model.caching_query import FromCache | |
34 from rhodecode.model.db import User, UserRepoToPerm, Repository, Permission, \ | 35 from rhodecode.model.db import User, UserRepoToPerm, Repository, Permission, \ |
35 UserToPerm, UsersGroupRepoToPerm, UsersGroupToPerm, UsersGroupMember | 36 UserToPerm, UsersGroupRepoToPerm, UsersGroupToPerm, UsersGroupMember |
36 from rhodecode.lib.exceptions import DefaultUserException, \ | 37 from rhodecode.lib.exceptions import DefaultUserException, \ |
37 UserOwnsReposException | 38 UserOwnsReposException |
38 | 39 |