Project

General

Profile

« Previous | Next » 

Revision 1b18c2d9

Added by Jérôme Schneider over 9 years ago

middleware: PythonSettingsMiddleware overload FileBasedTenantSettingBaseMiddleware and not JSONSettingsMiddleware

Closes #5972

View differences:

entrouvert/djommon/multitenant/middleware.py
167 167
            raise KeyError
168 168

  
169 169

  
170
class PythonSettingsMiddleware(JSONSettingsMiddleware):
170
class PythonSettingsMiddleware(FileBasedTenantSettingBaseMiddleware):
171 171
    '''Load settings from a file whose path is given by:
172 172

  
173 173
            os.path.join(settings.TENANT_BASE % schema_name, 'settings.py')

Also available in: Unified diff