Fixed inconsistent import of settings.py vars