Source

django-timedelta-field / timedelta / __init__.py

Diff from to

timedelta/__init__.py

 try:
     from django.core.exceptions import ImproperlyConfigured
 except ImportError:
-    ImproperlyConfigured = None
+    ImproperlyConfigured = ImportError
 
 try:
     from .fields import TimedeltaField