Navigation Menu

Skip to content
This repository has been archived by the owner on Jun 20, 2018. It is now read-only.

Commit

Permalink
make it backwards compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Chen committed Apr 29, 2015
1 parent 0aa6d64 commit 460c216
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gargoyle/templatetags/gargoyle_helpers.py
Expand Up @@ -6,7 +6,10 @@
:license: Apache License 2.0, see LICENSE for more details.
"""

from django.template import base as template_base
try:
from django.template import base as template_base
except ImportError:
from django import template as template_base

register = template_base.Library()

Expand Down

0 comments on commit 460c216

Please sign in to comment.