Commits

ramusus  committed 9cd1192

added import for Exception

  • Participants
  • Parent commits e2ad3b7

Comments (0)

Files changed (1)

File tracking/middleware.py

 from django.core.urlresolvers import reverse, NoReverseMatch
+from django.db.utils import DatabaseError
 from django.http import Http404
 from django.shortcuts import render_to_response
 from django.conf import settings