Tweaking ImproperlyConfigured exception message.
Removing unnecessary attribute assignment