diff --git a/positions/models.py b/positions/models.py index 4323297..d529aa5 100644 --- a/positions/models.py +++ b/positions/models.py @@ -35,3 +35,4 @@ class Position(models.Model): class Meta: verbose_name = "职位" verbose_name_plural = "职位列表" + unique_together = ['title', 'website', 'company']