Raise ImproperlyConfigured when settings cause an error