django.core.exceptions ImproperlyConfigured Example Code

ImproperlyConfigured is a class within the Django project that is thrown when there is a mistake in an application's settings. The exception can also be thrown by a developer when building a library for project that will be used with Django.

Example 1 from django-object-tools

django-object-tools is a code library to make it easier to create new Django admin object tools. The project's code provided as open source under the BSD 3-Clause "New" or "Revised" License.

django-object-tools / object_tools / validation.py