resolve_dependencies is deprecated now
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
+import warnings
+
from django.core.exceptions import ValidationError
from django.contrib.staticfiles.finders import get_finders
from django.utils.translation import ugettext_lazy as _
@@ -60,6 +62,12 @@ def resolve_dependencies(filenames):
"""
from cmsplugin_cascade import settings
+ warnings.warn(
+ 'resolve_dependencies() is deprecated and will be removed.',
+ DeprecationWarning,
+ stacklevel=2,
+ )
+
def find_file(path):
for finder in get_finders():
result = finder.find(path)
