svn-support: move into apps module.
This commit is contained in:
parent
db64ea8c81
commit
bbc650bed6
10 changed files with 5 additions and 5 deletions
|
|
@ -23,7 +23,7 @@ import logging
|
|||
from pyramid.view import view_config
|
||||
|
||||
from rhodecode.apps._base import BaseAppView
|
||||
from rhodecode.svn_support.utils import generate_mod_dav_svn_config
|
||||
from rhodecode.apps.svn_support.utils import generate_mod_dav_svn_config
|
||||
from rhodecode.lib.auth import (
|
||||
LoginRequired, HasPermissionAllDecorator, CSRFRequired)
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ import re
|
|||
|
||||
from pyramid import testing
|
||||
|
||||
from rhodecode.svn_support import utils
|
||||
from rhodecode.apps.svn_support import utils
|
||||
|
||||
|
||||
class TestModDavSvnConfig(object):
|
||||
|
|
@ -81,7 +81,7 @@ def _render_mod_dav_svn_config(
|
|||
}
|
||||
|
||||
# Render the configuration template to string.
|
||||
template = 'rhodecode:svn_support/templates/mod-dav-svn.conf.mako'
|
||||
template = 'rhodecode:apps/svn_support/templates/mod-dav-svn.conf.mako'
|
||||
return render(template, context)
|
||||
|
||||
|
||||
|
|
@ -287,10 +287,10 @@ def includeme(config):
|
|||
config.include('rhodecode.apps.login')
|
||||
config.include('rhodecode.apps.user_profile')
|
||||
config.include('rhodecode.apps.my_account')
|
||||
config.include('rhodecode.apps.svn_support')
|
||||
|
||||
config.include('rhodecode.tweens')
|
||||
config.include('rhodecode.api')
|
||||
config.include('rhodecode.svn_support')
|
||||
|
||||
config.add_route(
|
||||
'rhodecode_support', 'https://rhodecode.com/help/', static=True)
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ from webob.exc import HTTPBadRequest
|
|||
|
||||
import rhodecode
|
||||
from rhodecode.apps.admin.navigation import navigation_list
|
||||
from rhodecode.apps.svn_support.config_keys import generate_config
|
||||
from rhodecode.lib import auth
|
||||
from rhodecode.lib import helpers as h
|
||||
from rhodecode.lib.auth import LoginRequired, HasPermissionAllDecorator
|
||||
|
|
@ -62,7 +63,6 @@ from rhodecode.model.settings import (
|
|||
SettingsModel)
|
||||
|
||||
from rhodecode.model.supervisor import SupervisorModel, SUPERVISOR_MASTER
|
||||
from rhodecode.svn_support.config_keys import generate_config
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue