Development #7010
Use debian_config_common.py from hobo in the multitenant debian_config.py
Start date:
22 Apr 2015
Due date:
% Done:
0%
Estimated time:
Patch proposed:
Yes
Planning:
Files
Associated revisions
History
Updated by Jérôme Schneider almost 6 years ago
- File 0001-debian-use-debian_config_common.py-from-hobo-7010.patch 0001-debian-use-debian_config_common.py-from-hobo-7010.patch added
- Status changed from Nouveau to En cours
- Patch proposed changed from No to Yes
Updated by Benjamin Dauvergne almost 6 years ago
Il faut conserver l'effet des lignes suivantes (pour ça comparer debian_config_common.py au debian_config.py actuel):
INSTALLED_APPS = ('hobo.multitenant', 'hobo.agent.authentic2') + INSTALLED_APPS
TEMPLATE_CONTEXT_PROCESSORS = ('django.core.context_processors.request',) + TEMPLATE_CONTEXT_PROCESSORS
MIDDLEWARE_CLASSES = ( 'authentic2.middleware.XForwardedForMiddleware', 'hobo.multitenant.middleware.TenantMiddleware', 'hobo.multitenant.middleware.TenantSettingsMiddleware', ) + MIDDLEWARE_CLASSES
TENANT_SETTINGS_LOADERS = ( 'hobo.multitenant.settings_loaders.TemplateVars', 'hobo.multitenant.settings_loaders.Authentic', )
Updated by Jérôme Schneider almost 6 years ago
- File 0001-debian-use-debian_config_common.py-from-hobo-7010.patch 0001-debian-use-debian_config_common.py-from-hobo-7010.patch added
Bien vu nouveau patch qui adapte tes remarques :
- django.core.context_processors.request : c'est déjà dans authentic2.settings
- MIDDLEWARE_CLASSES il n'y besoin que de rajouter authentic2.middleware.XForwardedForMiddleware
- TENANT_SETTINGS_LOADERS il n'y a besoin que de rajouter hobo.multitenant.settings_loaders.Authentic
Updated by Benjamin Dauvergne almost 6 years ago
- Status changed from En cours to Solution déployée
Updated by Benjamin Dauvergne almost 6 years ago
- Status changed from Solution déployée to Résolu (à déployer)
Updated by Benjamin Dauvergne about 5 years ago
- Status changed from Résolu (à déployer) to Solution déployée
debian: use debian_config_common.py from hobo (#7010)