diff --git a/pipeline/templatetags/pipeline.py b/pipeline/templatetags/pipeline.py index 20c9bb42..5050f067 100644 --- a/pipeline/templatetags/pipeline.py +++ b/pipeline/templatetags/pipeline.py @@ -132,7 +132,7 @@ def render(self, context): package = self.package_for(package_name, "css") except PackageNotFound: w = "Package %r is unknown. Check PIPELINE['STYLESHEETS'] in your settings." - logger.warn(w, package_name) + logger.warning(w, package_name) # fail silently, do not return anything if an invalid group is specified return "" return self.render_compressed(package, package_name, "css") @@ -168,7 +168,7 @@ def render(self, context): package = self.package_for(package_name, "js") except PackageNotFound: w = "Package %r is unknown. Check PIPELINE['JAVASCRIPT'] in your settings." - logger.warn(w, package_name) + logger.warning(w, package_name) # fail silently, do not return anything if an invalid group is specified return "" return self.render_compressed(package, package_name, "js")