Fixed a bug in the wsgi caused by the separation of the settings files