Files
mayan-edms/mayan/apps/document_indexing/migrations/0005_index_slug.py
Roberto Rosario 4baeb6ce7e Code cleanups
PEP8 cleanups. Add keyword arguments.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2019-05-21 00:56:22 -04:00

24 lines
618 B
Python

from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('document_indexing', '0004_auto_20150708_0113'),
]
operations = [
migrations.AddField(
model_name='index',
name='slug',
field=models.SlugField(
null=True, max_length=128, blank=True, help_text='This values '
'will be used by other apps to reference this index.',
unique=True, verbose_name='Slug'
),
preserve_default=True,
),
]