|
@@ -55,11 +55,6 @@ class IPPool(models.Model):
|
|
|
|
|
|
|
|
|
|
class IPSubnet(models.Model):
|
|
class IPSubnet(models.Model):
|
|
- # TODO: find some way to signal to Subscriptions objects when a subnet
|
|
|
|
- # gets modified (so that the subscription can update the LDAP backend
|
|
|
|
- # accordingly)
|
|
|
|
- # Actually, a better idea would be to build a custom relation and update
|
|
|
|
- # LDAP in the relation itself.
|
|
|
|
inet = CidrAddressField(blank=True, validators=[validate_subnet],
|
|
inet = CidrAddressField(blank=True, validators=[validate_subnet],
|
|
verbose_name="sous-réseau",
|
|
verbose_name="sous-réseau",
|
|
help_text="Laisser vide pour allouer automatiquement")
|
|
help_text="Laisser vide pour allouer automatiquement")
|