small model change
This commit is contained in:
parent
5997437edd
commit
9ec5432737
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user