Ajusts settings.py database parameter
cleaning imports
Defect correction