Fix importing of Django settings.