Break this import circle:
django.conf -> synnefo.settings (via DJANGO_SETTINGS_MODULE)
synnefo.settings -> pithos_webclient.synnefo_settings (via entry points)
pithos_webclient.synnefo_settings -> pithos_webclient.urls
pithos_webclient.urls -> pithos_webclient.settings
pithos_webclient.settings -> django.conf
which caused django.conf.settings to be initialized from
synnefo.settings before the latter was completely initialized.
context_processors = [
'synnefo.lib.context_processors.cloudbar'
]
-
-# namespace
-from django.conf.urls.defaults import include, patterns
-urlpatterns = patterns('',
- ('', include('pithos_webclient.urls')),
-)
entry_points={
'synnefo': [
'web_apps = pithos_webclient.synnefo_settings:installed_apps',
- 'urls = pithos_webclient.synnefo_settings:urlpatterns',
+ 'urls = pithos_webclient.urls:urlpatterns',
'web_static = pithos_webclient.synnefo_settings:static_files',
'web_context_processors = '
'pithos_webclient.synnefo_settings:context_processors'