Django IntegrityError when editing a value referenced by a foreign key

前端 未结 0 645
灰色年华
灰色年华 2021-02-06 21:01

I have an app with two (relevant) models, in what is essentially a CRM:

class StudentTutorRelationshipProfile(models.Model):
    pupil_name = models.CharField(max         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题