diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-10-24 11:37:58 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-10-24 11:37:58 +0200 |
| commit | 81fed5bc33fdbb41d163bdae490529b8a941fea9 (patch) | |
| tree | b7c0dd5a621d5b0b1dec0498adea1e52f802389a | |
| parent | 310049a5ae2324788f5756b18aace648cc3c97de (diff) | |
Renamed deprecated logger.warn to warning
| -rw-r--r-- | django/template/loader_tags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/loader_tags.py b/django/template/loader_tags.py index e491a25cbb..ebd8a1a9f7 100644 --- a/django/template/loader_tags.py +++ b/django/template/loader_tags.py @@ -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, |
