small model change

This commit is contained in:
eliott 2008-03-08 14:07:06 -08:00
parent 5997437edd
commit 9ec5432737

View File

@ -135,7 +135,7 @@ def get_absolute_url(self):
class Arch(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField(maxlength=255)
name = models.CharField(unique=True,maxlength=255)
class Meta:
db_table = 'archs'
ordering = ['name']