From af4c6d9747197b23014ba71803da792f9e612a12 Mon Sep 17 00:00:00 2001 From: Will Horne Date: Mon, 20 Jul 2015 16:12:27 -0700 Subject: [PATCH] Add migration to resolve inconsistency between python2 and python3 strings --- .../migrations/0004_bytestring_to_unicode.py | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 django_mailbox/migrations/0004_bytestring_to_unicode.py diff --git a/django_mailbox/migrations/0004_bytestring_to_unicode.py b/django_mailbox/migrations/0004_bytestring_to_unicode.py new file mode 100644 index 0000000..fedc46a --- /dev/null +++ b/django_mailbox/migrations/0004_bytestring_to_unicode.py @@ -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/'), + ), + ]