mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 14:32:34 +02:00
Increase max_length of Mailbox.uri
This commit is contained in:
commit
189ea25e2a
2 changed files with 19 additions and 1 deletions
18
django_mailbox/migrations/0010_alter_mailbox_uri.py
Normal file
18
django_mailbox/migrations/0010_alter_mailbox_uri.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 3.2.25 on 2026-06-23 09:18
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('django_mailbox', '0009_alter_message_eml'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='mailbox',
|
||||
name='uri',
|
||||
field=models.CharField(blank=True, default=None, help_text="Example: imap+ssl://myusername:mypassword@someserver <br /><br />Internet transports include 'imap' and 'pop3'; common local file transports include 'maildir', 'mbox', and less commonly 'babyl', 'mh', and 'mmdf'. <br /><br />Be sure to urlencode your username and password should they contain illegal characters (like @, :, etc).", max_length=2048, null=True, verbose_name='URI'),
|
||||
),
|
||||
]
|
||||
|
|
@ -64,7 +64,7 @@ class Mailbox(models.Model):
|
|||
|
||||
uri = models.CharField(
|
||||
_('URI'),
|
||||
max_length=255,
|
||||
max_length=2048,
|
||||
help_text=(_(
|
||||
"Example: imap+ssl://myusername:mypassword@someserver <br />"
|
||||
"<br />"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue