comparison rhodecode/controllers/summary.py @ 629:7e536d1af60d beta

Code refactoring,models renames cleaned up sqlalchemy sessions, added cache support to most queries in models fixed test.ini file
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 21 Oct 2010 01:38:14 +0200
parents 0a48c1ec04fc
children b04d5214fd3c
comparison
equal deleted inserted replaced
628:dd06bdf974c8 629:7e536d1af60d
24 """ 24 """
25 from pylons import tmpl_context as c, request, url 25 from pylons import tmpl_context as c, request, url
26 from rhodecode.lib.auth import LoginRequired, HasRepoPermissionAnyDecorator 26 from rhodecode.lib.auth import LoginRequired, HasRepoPermissionAnyDecorator
27 from rhodecode.lib.base import BaseController, render 27 from rhodecode.lib.base import BaseController, render
28 from rhodecode.lib.utils import OrderedDict 28 from rhodecode.lib.utils import OrderedDict
29 from rhodecode.model.hg_model import HgModel 29 from rhodecode.model.hg import HgModel
30 from rhodecode.model.db import Statistics 30 from rhodecode.model.db import Statistics
31 from webhelpers.paginate import Page 31 from webhelpers.paginate import Page
32 from rhodecode.lib.celerylib import run_task 32 from rhodecode.lib.celerylib import run_task
33 from rhodecode.lib.celerylib.tasks import get_commits_stats 33 from rhodecode.lib.celerylib.tasks import get_commits_stats
34 from datetime import datetime, timedelta 34 from datetime import datetime, timedelta