1. Matthew Schinckel
  2. django-timedelta-field

Commits

Flavio Curella  committed 41bb0a1

fixed subclassing Error on py3k

  • Participants
  • Parent commits bf5aaea
  • Branches py3k

Comments (0)

Files changed (1)

File timedelta/__init__.py

View file
  • Ignore whitespace
 try:
     from django.core.exceptions import ImproperlyConfigured
 except ImportError:
-    ImproperlyConfigured = None
+    ImproperlyConfigured = ImportError
 
 try:
     from .fields import TimedeltaField