Added ImproperlyConfigured to the imports in views.py.