Add sources migration to add related name
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
21
mayan/apps/sources/migrations/0024_auto_20191219_0252.py
Normal file
21
mayan/apps/sources/migrations/0024_auto_20191219_0252.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.26 on 2019-12-19 02:52
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('sources', '0023_auto_20191213_0044'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='intervalbasemodel',
|
||||
name='document_type',
|
||||
field=models.ForeignKey(help_text='Assign a document type to documents uploaded from this source.', on_delete=django.db.models.deletion.CASCADE, related_name='interval_sources', to='documents.DocumentType', verbose_name='Document type'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user