From 02524a5492bf3a45585346ef7d989e7b823059c0 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 14 Feb 2017 14:32:00 +0100 Subject: [PATCH] fix django 1.9 compatibility --- .gitignore | 4 ++++ fnpdjango/templatetags/macros.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 39ece65..06194e4 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,10 @@ dist .tox /htmlcov +# PyCharm garbage +.idea +.pycharmrc + # Mac OS X garbage .DS_Store diff --git a/fnpdjango/templatetags/macros.py b/fnpdjango/templatetags/macros.py index 61b007d..647843d 100644 --- a/fnpdjango/templatetags/macros.py +++ b/fnpdjango/templatetags/macros.py @@ -52,7 +52,7 @@ through {% extends ... %} tags. """ from django import template -from django.template import FilterExpression +from django.template.base import FilterExpression from django.template.loader import get_template import re -- 2.20.1