mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
a couple small adjustments here and there.
This commit is contained in:
parent
e59696efd4
commit
87e83eb71b
5 changed files with 34 additions and 4 deletions
|
|
@ -19,7 +19,11 @@ class MailAccount(models.Model):
|
|||
|
||||
imap_server = models.CharField(max_length=256)
|
||||
|
||||
imap_port = models.IntegerField(blank=True, null=True)
|
||||
imap_port = models.IntegerField(
|
||||
blank=True,
|
||||
null=True,
|
||||
help_text="This is usually 143 for unencrypted and STARTTLS "
|
||||
"connections, and 993 for SSL connections.")
|
||||
|
||||
imap_security = models.PositiveIntegerField(
|
||||
choices=IMAP_SECURITY_OPTIONS,
|
||||
|
|
@ -68,7 +72,7 @@ class MailRule(models.Model):
|
|||
(CORRESPONDENT_FROM_CUSTOM, "Use correspondent selected below")
|
||||
)
|
||||
|
||||
name = models.CharField(max_length=256)
|
||||
name = models.CharField(max_length=256, unique=True)
|
||||
|
||||
account = models.ForeignKey(
|
||||
MailAccount,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue