1. Vernon Cole
  2. django-mssql-ado-merge


Michael Manfre  committed 4abaad5

Fix IntegrityError import to reference the expected Django defined version and not the class defined by adodbapi.

  • Participants
  • Parent commits 269edd8
  • Branches default

Comments (0)

Files changed (1)

File tests/test_main/regressiontests/models.py

View file
 import datetime
 import decimal
-from django.db import models
+from django.db import models, IntegrityError
 from django.test import TestCase
 from django.core.paginator import Paginator
 from sqlserver_ado.fields import BigAutoField, BigIntegerField, BigForeignKey
-from adodbapi.apibase import IntegrityError
 class Bug19Table(models.Model):
     """ A simple model for testing string comparisons.