mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Remove null=True for Mailbox.uri and Mailbox.from_email
According to Django's docs it's advised to not use null for string fields.
This commit is contained in:
parent
ce6ce6b5dd
commit
4d5376f0f0
1 changed files with 0 additions and 2 deletions
|
|
@ -64,7 +64,6 @@ class Mailbox(models.Model):
|
||||||
"contain illegal characters (like @, :, etc)."
|
"contain illegal characters (like @, :, etc)."
|
||||||
)),
|
)),
|
||||||
blank=True,
|
blank=True,
|
||||||
null=True,
|
|
||||||
default=None,
|
default=None,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -81,7 +80,6 @@ class Mailbox(models.Model):
|
||||||
"be set to match the setting `DEFAULT_FROM_EMAIL`."
|
"be set to match the setting `DEFAULT_FROM_EMAIL`."
|
||||||
)),
|
)),
|
||||||
blank=True,
|
blank=True,
|
||||||
null=True,
|
|
||||||
default=None,
|
default=None,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue