Instead of inserting the path of the apps into the Python app, the apps are now referenced by their full import path. This solves name clashes with external or native Python libraries. Example: Mayan statistics app vs. Python new statistics library. Every app reference is now prepended with 'mayan.apps'. Existing config.yml files need to be updated manually. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
24 lines
684 B
Python
24 lines
684 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.11 on 2018-04-03 07:02
|
|
from __future__ import unicode_literals
|
|
|
|
import django.core.files.storage
|
|
from django.db import migrations, models
|
|
|
|
import mayan.apps.documents.models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('documents', '0041_auto_20170823_1855'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='documentversion',
|
|
name='file',
|
|
field=models.FileField(storage=django.core.files.storage.FileSystemStorage(location=b'mayan/media/document_storage'), upload_to=mayan.apps.documents.models.UUID_FUNCTION, verbose_name='File'),
|
|
),
|
|
]
|