Show More
@@ -34,11 +34,16 b' from pylons.configuration import PylonsC' | |||
|
34 | 34 | from pylons.error import handle_mako_error |
|
35 | 35 | from pyramid.settings import asbool |
|
36 | 36 | |
|
37 | # don't remove this import it does magic for celery | |
|
38 | from rhodecode.lib import celerypylons # noqa | |
|
37 | # ------------------------------------------------------------------------------ | |
|
38 | # CELERY magic until refactor - issue #4163 - import order matters here: | |
|
39 | from rhodecode.lib import celerypylons # this must be first, celerypylons | |
|
40 | # sets config settings upon import | |
|
39 | 41 | |
|
40 | import rhodecode.lib.app_globals as app_globals | |
|
42 | import rhodecode.integrations # any modules using celery task | |
|
43 | # decorators should be added afterwards: | |
|
44 | # ------------------------------------------------------------------------------ | |
|
41 | 45 | |
|
46 | from rhodecode.lib import app_globals | |
|
42 | 47 | from rhodecode.config import utils |
|
43 | 48 | from rhodecode.config.routing import make_map |
|
44 | 49 | from rhodecode.config.jsroutes import generate_jsroutes_content |
@@ -39,7 +39,6 b' from routes.middleware import RoutesMidd' | |||
|
39 | 39 | import routes.util |
|
40 | 40 | |
|
41 | 41 | import rhodecode |
|
42 | import rhodecode.integrations # do not remove this as it registers celery tasks | |
|
43 | 42 | from rhodecode.config import patches |
|
44 | 43 | from rhodecode.config.routing import STATIC_FILE_PREFIX |
|
45 | 44 | from rhodecode.config.environment import ( |
General Comments 0
You need to be logged in to leave comments.
Login now