mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-08-31 15:19:41 +02:00
SMTP Configuration view and form
This commit is contained in:
parent
dc85a76715
commit
95a0695392
6 changed files with 124 additions and 3 deletions
|
@ -10,6 +10,7 @@ class EmailSettings(models.Model):
|
|||
smtp_port = models.IntegerField(default=587)
|
||||
smtp_encryption = models.CharField(default='tls', choices=(('ssl', 'SSL'), ('tls', 'TLS')), max_length=3)
|
||||
smtp_from_address = models.EmailField(blank=True, null=True)
|
||||
enabled = models.BooleanField(default=True)
|
||||
|
||||
uuid = models.UUIDField(default=uuid.uuid4, editable=False, unique=True)
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue