refactor MailProvider model and enhance email validation in admin form
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from django.db import models
|
||||
|
||||
class MailProvider(models.Model):
|
||||
host = models.URLField()
|
||||
host = models.CharField(max_length=255)
|
||||
port = models.IntegerField(default=587)
|
||||
host_user = models.CharField(max_length=255)
|
||||
host_password = models.CharField(max_length=255)
|
||||
|
Reference in New Issue
Block a user