mirror of
https://github.com/eduardogsilva/routerfleet.git
synced 2025-07-21 03:14:23 +02:00
Change Router address field size from 15 to 100 chars.
This commit is contained in:
parent
67a720f6a2
commit
5b289a011d
2 changed files with 19 additions and 1 deletions
|
@ -19,7 +19,7 @@ class SSHKey(models.Model):
|
|||
class Router(models.Model):
|
||||
name = models.CharField(max_length=100, unique=True)
|
||||
internal_notes = models.TextField(null=True, blank=True)
|
||||
address = models.CharField(max_length=15)
|
||||
address = models.CharField(max_length=100)
|
||||
username = models.CharField(max_length=100, default='admin')
|
||||
password = models.CharField(max_length=100, null=True, blank=True)
|
||||
ssh_key = models.ForeignKey(SSHKey, on_delete=models.SET_NULL, null=True, blank=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue