mirror of https://gitlab.crans.org/bde/nk20
pas deux conso avec le meme nom
This commit is contained in:
parent
f88ca61b34
commit
f51db8d0c6
|
@ -18,6 +18,7 @@ class TransactionTemplate(models.Model):
|
||||||
name = models.CharField(
|
name = models.CharField(
|
||||||
verbose_name=_('name'),
|
verbose_name=_('name'),
|
||||||
max_length=255,
|
max_length=255,
|
||||||
|
unique=True,
|
||||||
)
|
)
|
||||||
destination = models.ForeignKey(
|
destination = models.ForeignKey(
|
||||||
NoteClub,
|
NoteClub,
|
||||||
|
|
Loading…
Reference in New Issue