Open yakky opened 8 years ago
I faced the same issue (init hanging with a lock) today when testing djangocms-multisite. Did you progress any further on this @jedie @yakky ? Thanks.
@fedriz are you using the above feature of django-multisite?
(@yakky let me know if we are talking about the same thing)
I've never had this problem. Those are the loaders that I currently use, check if you are using the same settings.
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [
os.path.join(BASE_DIR, 'configurator', 'templates'),
],
'OPTIONS': {
'context_processors': [
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'django.template.context_processors.i18n',
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.template.context_processors.media',
'django.template.context_processors.csrf',
'django.template.context_processors.tz',
'sekizai.context_processors.sekizai',
'django.template.context_processors.static',
'cms.context_processors.cms_settings'
],
'loaders': [
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
'django.template.loaders.eggs.Loader',
'multisite.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
],
},
},
]
I try currently the template loader, and it seems not to work, isn't it?
The init hangs with a lock: