How to reference a Form's ModelMutiplechoiceField to a foreignKey in Django?

前端 未结 0 678
傲寒
傲寒 2021-02-20 16:24

Consider my model like this:

class Major(models.Model):
    major_name = models.CharField(max_length=100, default=\'\', null=False)
    is_active = models.Boolean         


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