forked from 0x2620/pandora
name_sort is not unique
This commit is contained in:
parent
a04fe0b36e
commit
b019cda004
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class Event(models.Model):
|
||||||
user = models.ForeignKey(User, null=True, related_name='events')
|
user = models.ForeignKey(User, null=True, related_name='events')
|
||||||
|
|
||||||
name = models.CharField(null=True, max_length=255, unique=True)
|
name = models.CharField(null=True, max_length=255, unique=True)
|
||||||
name_sort = models.CharField(null=True, max_length=255, unique=True)
|
name_sort = models.CharField(null=True, max_length=255, db_index=True)
|
||||||
name_find = models.TextField(default='', editable=True)
|
name_find = models.TextField(default='', editable=True)
|
||||||
wikipediaId = models.CharField(max_length=1000, blank=True)
|
wikipediaId = models.CharField(max_length=1000, blank=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue