apps: switch import of ADMIN_PREFIX from routing into base app.

- routing is deprecated and will be soon removed
This commit is contained in:
Marcin Kuzminski 2017-11-07 14:17:26 +01:00
parent 4336119cb0
commit 116099638b
10 changed files with 11 additions and 11 deletions

View file

@ -27,7 +27,7 @@ from pyramid.authentication import SessionAuthenticationPolicy
from rhodecode.authentication.registry import AuthenticationPluginRegistry
from rhodecode.authentication.routes import root_factory
from rhodecode.authentication.routes import AuthnRootResource
from rhodecode.config.routing import ADMIN_PREFIX
from rhodecode.apps._base import ADMIN_PREFIX
from rhodecode.model.settings import SettingsModel

View file

@ -23,7 +23,7 @@ import pytest
from rhodecode.authentication.tests.conftest import (
EnabledAuthPlugin, DisabledAuthPlugin)
from rhodecode.config.routing import ADMIN_PREFIX
from rhodecode.apps._base import ADMIN_PREFIX
@pytest.mark.usefixtures('autologin_user', 'app')