Django - how to create multiple select (on CreateView) to a foreign key on the related model?

前端 未结 0 1457
伪装坚强ぢ
伪装坚强ぢ 2021-02-03 22:44

I have those two models:

Student

class Student(models.Model):
    name = models.CharField(max_length=50, default=\'\')
    class = models.ForeignKey(Clas         


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