From ae6ca81f14634d6f531e3d50a6c3eca0024bf1bb Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Sun, 25 May 2025 06:01:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BC=81=E4=B8=9A=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=94=AF=E4=B8=80=E7=BA=A6=E6=9D=9F=EF=BC=8C=E7=A1=AE?= =?UTF-8?q?=E4=BF=9D=E5=90=8D=E7=A7=B0=E5=92=8C=E7=BD=91=E7=AB=99=E7=BB=84?= =?UTF-8?q?=E5=90=88=E5=94=AF=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- companies/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/companies/models.py b/companies/models.py index 2888610..1137a0d 100644 --- a/companies/models.py +++ b/companies/models.py @@ -26,3 +26,4 @@ class Company(models.Model): class Meta: verbose_name = "企业" verbose_name_plural = "企业列表" + unique_together = (("name", "website"),) \ No newline at end of file