1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Renamed deprecated logger.warn to warning

This commit is contained in:
Claude Paroz 2015-10-24 11:37:58 +02:00
parent 310049a5ae
commit 81fed5bc33

View File

@ -211,7 +211,7 @@ class IncludeNode(Node):
if context.template.engine.debug:
raise
template_name = getattr(context, 'template_name', None) or 'unknown'
logger.warn(
logger.warning(
"Exception raised while rendering {%% include %%} for "
"template '%s'. Empty string rendered instead.",
template_name,