PEP8 Cleanup (495 warnings).
This commit is contained in:
@@ -14,10 +14,28 @@ class Migration(migrations.Migration):
|
||||
migrations.CreateModel(
|
||||
name='SourceLog',
|
||||
fields=[
|
||||
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
||||
('datetime', models.DateTimeField(auto_now_add=True, verbose_name='Date time')),
|
||||
('message', models.TextField(verbose_name='Message', editable=False, blank=True)),
|
||||
('source', models.ForeignKey(related_name='logs', verbose_name='Source', to='sources.Source')),
|
||||
(
|
||||
'id', models.AutoField(
|
||||
verbose_name='ID', serialize=False, auto_created=True,
|
||||
primary_key=True
|
||||
)
|
||||
),
|
||||
(
|
||||
'datetime', models.DateTimeField(
|
||||
auto_now_add=True, verbose_name='Date time'
|
||||
)
|
||||
),
|
||||
(
|
||||
'message', models.TextField(
|
||||
verbose_name='Message', editable=False, blank=True
|
||||
)
|
||||
),
|
||||
(
|
||||
'source', models.ForeignKey(
|
||||
related_name='logs', verbose_name='Source',
|
||||
to='sources.Source'
|
||||
)
|
||||
),
|
||||
],
|
||||
options={
|
||||
'ordering': ['-datetime'],
|
||||
|
||||
@@ -14,7 +14,12 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name='emailbasemodel',
|
||||
name='metadata_attachment_name',
|
||||
field=models.CharField(default='metadata.yaml', help_text='Name of the attachment that will contains the metadata types and values to be assigned to the rest of the downloaded attachments.', max_length=128, verbose_name='Metadata attachment name'),
|
||||
field=models.CharField(
|
||||
default='metadata.yaml', help_text='Name of the attachment '
|
||||
'that will contains the metadata types and values to be '
|
||||
'assigned to the rest of the downloaded attachments.',
|
||||
max_length=128, verbose_name='Metadata attachment name'
|
||||
),
|
||||
preserve_default=True,
|
||||
),
|
||||
]
|
||||
|
||||
@@ -14,7 +14,13 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name='emailbasemodel',
|
||||
name='metadata_attachment_name',
|
||||
field=models.CharField(default='metadata.yaml', help_text='Name of the attachment that will contains the metadata type names and value pairs to be assigned to the rest of the downloaded attachments. Note: This attachment has to be the first attachment.', max_length=128, verbose_name='Metadata attachment name'),
|
||||
field=models.CharField(
|
||||
default='metadata.yaml', help_text='Name of the attachment '
|
||||
'that will contains the metadata type names and value pairs '
|
||||
'to be assigned to the rest of the downloaded attachments. '
|
||||
'Note: This attachment has to be the first attachment.',
|
||||
max_length=128, verbose_name='Metadata attachment name'
|
||||
),
|
||||
preserve_default=True,
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user