【发布时间】:2019-08-24 23:34:38
【问题描述】:
我在 Django 中使用版本2.2 启动了新项目,它有新的约束unique constraint,这与unique_together 相同还是有其他区别?
【问题讨论】:
-
@DanielRoseman 明白了,谢谢,当我搜索 unique_together 时,我忘了在 url 中提及 2.2 版。
标签: django django-models django-queryset python-3.6 django-managers