Skip to content
Snippets Groups Projects
Commit 03a35310 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[experiments][migrations] Cleanup to properly use unicode_literals

parent e8a274ae
No related branches found
No related tags found
2 merge requests!2551.4.x,!242Py3 compatibility
......@@ -50,7 +50,7 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('name', models.CharField(max_length=200)),
('status', models.CharField(default=b'N', max_length=1, choices=[(b'N', b'Not cached'), (b'P', b'Processing'), (b'C', b'Cached'), (b'F', b'Failed')])),
('status', models.CharField(default='N', max_length=1, choices=[('N', 'Not cached'), ('P', 'Processing'), ('C', 'Cached'), ('F', 'Failed')])),
('analyzer', models.BooleanField(default=False)),
('creation_date', models.DateTimeField(auto_now_add=True, null=True)),
('start_date', models.DateTimeField(null=True, blank=True)),
......@@ -86,15 +86,15 @@ class Migration(migrations.Migration):
name='Experiment',
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')])),
('sharing', models.CharField(default='P', max_length=1, choices=[('P', 'Private'), ('S', 'Shared'), ('A', 'Public'), ('U', 'Usable')])),
('name', models.CharField(max_length=200)),
('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)),
('status', models.CharField(default=b'P', max_length=1, choices=[(b'P', b'Pending'), (b'S', b'Scheduled'), (b'R', b'Running'), (b'D', b'Done'), (b'F', b'Failed'), (b'C', b'Canceling')])),
('short_description', models.CharField(default='', help_text='Describe the object succinctly (try to keep it under 80 characters)', max_length=100, blank=True)),
('status', models.CharField(default='P', max_length=1, choices=[('P', 'Pending'), ('S', 'Scheduled'), ('R', 'Running'), ('D', 'Done'), ('F', 'Failed'), ('C', 'Canceling')])),
('creation_date', models.DateTimeField(auto_now_add=True, null=True)),
('start_date', models.DateTimeField(null=True, blank=True)),
('end_date', models.DateTimeField(null=True, blank=True)),
('declaration_file', models.FileField(db_column=b'declaration', upload_to=beat.web.common.models.get_contribution_declaration_filename, storage=beat.web.experiments.models.DeclarationStorage(), max_length=300, 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.experiments.models.DeclarationStorage(), max_length=300, blank=True, null=True)),
('declaration_file', models.FileField(db_column='declaration', upload_to=beat.web.common.models.get_contribution_declaration_filename, storage=beat.web.experiments.models.DeclarationStorage(), max_length=300, blank=True, null=True)),
('description_file', models.FileField(db_column='description', upload_to=beat.web.common.models.get_contribution_description_filename, storage=beat.web.experiments.models.DeclarationStorage(), max_length=300, blank=True, null=True)),
('hash', models.CharField(max_length=64)),
('author', models.ForeignKey(related_name='experiments', to=settings.AUTH_USER_MODEL)),
('referenced_algorithms', models.ManyToManyField(related_name='experiments', to='algorithms.Algorithm', blank=True)),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment