django.db.utils.IntegrityError: duplicate key value violates unique constraint
ErrorRecently I ran into a problem, which bugged me for days. I’m using django and spirit to build a website, there’s a model called category in spirit, which is like this 12345class Category(models.M