Added ACLLink comments.
Some checks are pending
Docker hub build / docker (push) Waiting to run

This commit is contained in:
ultradesu
2025-01-09 17:24:12 +00:00
parent 826827f85e
commit 2ca317a9a2
3 changed files with 15 additions and 4 deletions

View File

@@ -67,6 +67,7 @@ def acl_deleted(sender, instance, **kwargs):
class ACLLink(models.Model):
acl = models.ForeignKey(ACL, related_name='links', on_delete=models.CASCADE)
comment = models.TextField(default="", blank=True, help_text="ACL link comment, device name, etc...")
link = models.CharField(max_length=1024, default="", unique=True, blank=True, null=True, verbose_name="Access link", help_text="Access link to get dynamic configuration")
def save(self, *args, **kwargs):