Impor IntegrityError di Django
from django.db import IntegrityError
Energetic Echidna
from django.db import IntegrityError