Moving django settings before importin eoxserver.