exclude option in selectField (ForeignKey)

前端 未结 0 1575
夕颜
夕颜 2020-11-27 18:08

i have a field in my model: myuser = models.ForeignKey(MyUsers, on_delete=models.SET_NULL, blank=True, null=True)

in database table "MyUsers" - 10 users.

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