# HG changeset patch # User Marcin Kuzminski # Date 2017-03-02 19:34:58 # Node ID b95a0f4c9a5a881206dd352e0681e39d0d36c66a # Parent 91b1464c5edcee2ffd7008e629b42f836d7895de channelstream: move into apps diff --git a/rhodecode/channelstream/__init__.py b/rhodecode/apps/channelstream/__init__.py rename from rhodecode/channelstream/__init__.py rename to rhodecode/apps/channelstream/__init__.py --- a/rhodecode/channelstream/__init__.py +++ b/rhodecode/apps/channelstream/__init__.py @@ -85,4 +85,6 @@ def includeme(config): config.add_route( name='channelstream_proxy', pattern=settings.get('channelstream.proxy_path') or '/_channelstream') - config.scan('rhodecode.channelstream') + + # Scan module for configuration decorators. + config.scan() diff --git a/rhodecode/channelstream/views.py b/rhodecode/apps/channelstream/views.py rename from rhodecode/channelstream/views.py rename to rhodecode/apps/channelstream/views.py diff --git a/rhodecode/config/middleware.py b/rhodecode/config/middleware.py --- a/rhodecode/config/middleware.py +++ b/rhodecode/config/middleware.py @@ -278,12 +278,12 @@ def includeme(config): config.include('pyramid_mako') config.include('pyramid_beaker') - config.include('rhodecode.channelstream') config.include('rhodecode.authentication') config.include('rhodecode.integrations') # apps config.include('rhodecode.apps.admin') + config.include('rhodecode.apps.channelstream') config.include('rhodecode.apps.login') config.include('rhodecode.apps.user_profile')