This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.apps import apps as global_apps | |
from django.db import migrations | |
from djangocms_file.models import get_templates as get_file_templates | |
from djangocms_picture.models import get_templates as get_picture_templates | |
def forwards_filer_file(apps, schema_editor): | |
try: | |
CMSPluginFilerFile = apps.get_model('cmsplugin_filer_file', | |
'FilerFile') |