Version 3 (modified by Deniz Dogan, 7 years ago) (diff)

--

Exception raised when the relational integrity of the database is affected, e.g. a foreign key check fails, duplicate key, etc.

from django.db import IntegrityError
Back to Top