The web framework for perfectionists with deadlines.
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
Foundation unless otherwise noted. Django is a
trademark of the Django Software Foundation.