Allow duplicate gallery names
This commit is contained in:
parent
0c42aa321d
commit
cc108a8dcd
3 changed files with 26 additions and 8 deletions
|
|
@ -145,7 +145,7 @@ class TagField(models.CharField):
|
|||
|
||||
|
||||
class Gallery(models.Model):
|
||||
title = models.CharField(_("title"), max_length=250, unique=True)
|
||||
title = models.CharField(_("title"), max_length=250)
|
||||
slug = models.SlugField(
|
||||
_("title slug"),
|
||||
unique=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue