我在django有个模特
class NotificationMapping(models.Model):
counterId = models.ForeignKey(CounterDetails)
groupId = models.ForeignKey(CounterGroup)
class Meta:
unique_together = ('counterId', 'groupId',)
模型管理员:
^{pr2}$
我需要从添加新条目的地方对外键下拉列表中的值进行排序。在
Counter Id dropdown image
Tags:
您可以这样做:
相关问题 更多 >
编程相关推荐