mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-09-12 01:03:09 +00:00
Fix #119 : Plusieurs NS peuvent avoir le meme origin
This commit is contained in:
parent
cae97a385d
commit
d8270f8073
1 changed files with 1 additions and 1 deletions
|
@ -613,7 +613,7 @@ class Ns(RevMixin, AclMixin, models.Model):
|
||||||
PRETTY_NAME = "Enregistrements NS"
|
PRETTY_NAME = "Enregistrements NS"
|
||||||
|
|
||||||
zone = models.ForeignKey('Extension', on_delete=models.PROTECT)
|
zone = models.ForeignKey('Extension', on_delete=models.PROTECT)
|
||||||
ns = models.OneToOneField('Domain', on_delete=models.PROTECT)
|
ns = models.ForeignKey('Domain', on_delete=models.PROTECT)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
permissions = (
|
permissions = (
|
||||||
|
|
Loading…
Reference in a new issue