forked from mirror/django-mailbox
Add migration to resolve inconsistency between python2 and python3 strings
This commit is contained in:
parent
02446641d9
commit
af4c6d9747
1 changed files with 24 additions and 0 deletions
24
django_mailbox/migrations/0004_bytestring_to_unicode.py
Normal file
24
django_mailbox/migrations/0004_bytestring_to_unicode.py
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('django_mailbox', '0003_auto_20150409_0316'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='message',
|
||||
name='eml',
|
||||
field=models.FileField(verbose_name='Raw message contents', upload_to='messages', null=True, help_text='Original full content of message'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='messageattachment',
|
||||
name='document',
|
||||
field=models.FileField(verbose_name='Document', upload_to='mailbox_attachments/%Y/%m/%d/'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue