Changeset - f522f4d3bf93
[Not reviewed]
beta
1 8 1
Marcin Kuzminski - 14 years ago 2011-11-11 18:42:10
marcin@python-works.com
moved caching query to libs
9 files changed with 15 insertions and 9 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/caching_query.py
Show inline comments
 
file renamed from rhodecode/model/caching_query.py to rhodecode/lib/caching_query.py
rhodecode/lib/dbmigrate/schema/db_1_2_0.py
Show inline comments
 
@@ -45,7 +45,7 @@ from rhodecode.lib.exceptions import Use
 
from rhodecode.lib.compat import json
 

	
 
from rhodecode.model.meta import Base, Session
 
from rhodecode.model.caching_query import FromCache
 
from rhodecode.lib.caching_query import FromCache
 

	
 

	
 
log = logging.getLogger(__name__)
rhodecode/lib/utils.py
Show inline comments
 
@@ -43,8 +43,9 @@ from vcs.utils.lazy import LazyProperty
 
from vcs.utils.helpers import get_scm
 
from vcs.exceptions import VCSError
 

	
 
from rhodecode.lib.caching_query import FromCache
 

	
 
from rhodecode.model import meta
 
from rhodecode.model.caching_query import FromCache
 
from rhodecode.model.db import Repository, User, RhodeCodeUi, UserLog, RepoGroup, \
 
    RhodeCodeSetting
 

	
rhodecode/model/db.py
Show inline comments
 
@@ -44,9 +44,10 @@ from rhodecode.lib import str2bool, safe
 
    generate_api_key, safe_unicode
 
from rhodecode.lib.exceptions import UsersGroupsAssignedException
 
from rhodecode.lib.compat import json
 
from rhodecode.lib.caching_query import FromCache
 

	
 
from rhodecode.model.meta import Base, Session
 
from rhodecode.model.caching_query import FromCache
 

	
 

	
 

	
 
log = logging.getLogger(__name__)
rhodecode/model/meta.py
Show inline comments
 
@@ -3,7 +3,7 @@ from sqlalchemy.ext.declarative import d
 
from sqlalchemy.orm import scoped_session, sessionmaker
 
from beaker import cache
 

	
 
from rhodecode.model import caching_query
 
from rhodecode.lib import caching_query
 

	
 

	
 
# Beaker CacheManager.  A home base for cache configurations.
rhodecode/model/permission.py
Show inline comments
 
@@ -28,9 +28,11 @@ import traceback
 

	
 
from sqlalchemy.exc import DatabaseError
 

	
 
from rhodecode.lib.caching_query import FromCache
 

	
 
from rhodecode.model import BaseModel
 
from rhodecode.model.db import User, Permission, UserToPerm, UserRepoToPerm
 
from rhodecode.model.caching_query import FromCache
 

	
 

	
 
log = logging.getLogger(__name__)
 

	
rhodecode/model/repo.py
Show inline comments
 
@@ -34,9 +34,9 @@ from vcs.utils.lazy import LazyProperty
 
from vcs.backends import get_backend
 

	
 
from rhodecode.lib import safe_str
 
from rhodecode.lib.caching_query import FromCache
 

	
 
from rhodecode.model import BaseModel
 
from rhodecode.model.caching_query import FromCache
 
from rhodecode.model.db import Repository, UserRepoToPerm, User, Permission, \
 
    Statistics, UsersGroup, UsersGroupRepoToPerm, RhodeCodeUi, RepoGroup
 
from rhodecode.model.user import UserModel
rhodecode/model/user.py
Show inline comments
 
@@ -29,8 +29,9 @@ import traceback
 
from pylons.i18n.translation import _
 

	
 
from rhodecode.lib import safe_unicode
 
from rhodecode.lib.caching_query import FromCache
 

	
 
from rhodecode.model import BaseModel
 
from rhodecode.model.caching_query import FromCache
 
from rhodecode.model.db import User, UserRepoToPerm, Repository, Permission, \
 
    UserToPerm, UsersGroupRepoToPerm, UsersGroupToPerm, UsersGroupMember
 
from rhodecode.lib.exceptions import DefaultUserException, \
rhodecode/model/users_group.py
Show inline comments
 
@@ -26,8 +26,9 @@
 
import logging
 
import traceback
 

	
 
from rhodecode.model import BaseModel
 
from rhodecode.model.caching_query import FromCache
 
from rhodecode.lib.caching_query import FromCache
 

	
 
from rhodecode.model import BaseMode
 
from rhodecode.model.db import UsersGroupMember, UsersGroup
 

	
 
log = logging.getLogger(__name__)
0 comments (0 inline, 0 general)