diff --git a/sigi/apps/inventario/models.py b/sigi/apps/inventario/models.py index 3c93542..af886bd 100644 --- a/sigi/apps/inventario/models.py +++ b/sigi/apps/inventario/models.py @@ -18,7 +18,7 @@ class Fornecedor(models.Model): return self.nome class Fabricante(models.Model): - nome = models.CharField(max_length=40) + nome = models.CharField(max_length=40, unique=True) nome.alphabetic_filter = True class Meta: