From 184c30f10c53789ffcdcfc80aba66109850bcfa0 Mon Sep 17 00:00:00 2001
From: Samuel Gaist <samuel.gaist@idiap.ch>
Date: Thu, 26 Apr 2018 15:17:02 +0200
Subject: [PATCH] [dataformats][migrations] Cleanup to properly use
 unicode_literals

---
 beat/web/dataformats/migrations/0001_initial.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/beat/web/dataformats/migrations/0001_initial.py b/beat/web/dataformats/migrations/0001_initial.py
index 33addcdb0..e81c6d868 100644
--- a/beat/web/dataformats/migrations/0001_initial.py
+++ b/beat/web/dataformats/migrations/0001_initial.py
@@ -45,14 +45,14 @@ class Migration(migrations.Migration):
             name='DataFormat',
             fields=[
                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
-                ('sharing', models.CharField(default=b'P', max_length=1, choices=[(b'P', b'Private'), (b'S', b'Shared'), (b'A', b'Public'), (b'U', b'Usable')])),
-                ('name', models.CharField(help_text=b'The name for this object (space-like characters will be automatically replaced by dashes)', max_length=200)),
-                ('version', models.PositiveIntegerField(default=1, help_text=b'The version of this object (an integer starting from 1)')),
-                ('short_description', models.CharField(default=b'', help_text=b'Describe the object succinctly (try to keep it under 80 characters)', max_length=100, blank=True)),
-                ('creation_date', models.DateTimeField(auto_now_add=True, verbose_name=b'Creation date')),
-                ('hash', models.CharField(help_text=b'Hashed value of the object contents (<a href="https://docs.python.org/2/library/hashlib.html">SHA256, hexadecimal digest</a>). This field is auto-generated and managed by the platform.', max_length=64, editable=False)),
-                ('declaration_file', models.FileField(db_column=b'declaration', upload_to=beat.web.common.models.get_contribution_declaration_filename, storage=beat.web.dataformats.models.DataFormatStorage(), max_length=200, blank=True, null=True)),
-                ('description_file', models.FileField(db_column=b'description', upload_to=beat.web.common.models.get_contribution_description_filename, storage=beat.web.dataformats.models.DataFormatStorage(), max_length=200, blank=True, null=True)),
+                ('sharing', models.CharField(default='P', max_length=1, choices=[('P', 'Private'), ('S', 'Shared'), ('A', 'Public'), ('U', 'Usable')])),
+                ('name', models.CharField(help_text='The name for this object (space-like characters will be automatically replaced by dashes)', max_length=200)),
+                ('version', models.PositiveIntegerField(default=1, help_text='The version of this object (an integer starting from 1)')),
+                ('short_description', models.CharField(default='', help_text='Describe the object succinctly (try to keep it under 80 characters)', max_length=100, blank=True)),
+                ('creation_date', models.DateTimeField(auto_now_add=True, verbose_name='Creation date')),
+                ('hash', models.CharField(help_text='Hashed value of the object contents (<a href="https://docs.python.org/2/library/hashlib.html">SHA256, hexadecimal digest</a>). This field is auto-generated and managed by the platform.', max_length=64, editable=False)),
+                ('declaration_file', models.FileField(db_column='declaration', upload_to=beat.web.common.models.get_contribution_declaration_filename, storage=beat.web.dataformats.models.DataFormatStorage(), max_length=200, blank=True, null=True)),
+                ('description_file', models.FileField(db_column='description', upload_to=beat.web.common.models.get_contribution_description_filename, storage=beat.web.dataformats.models.DataFormatStorage(), max_length=200, blank=True, null=True)),
                 ('author', models.ForeignKey(related_name='dataformats', to=settings.AUTH_USER_MODEL)),
                 ('extend', models.ForeignKey(related_name='extensions', blank=True, to='dataformats.DataFormat', null=True)),
                 ('fork_of', models.ForeignKey(related_name='forks', blank=True, to='dataformats.DataFormat', null=True)),
-- 
GitLab