X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/610dacb44133c2efc65faa379a97eeda64d3581b..4db01353848079e0b4b3d0b4c0de29008b546473:/fnpdjango/templatetags/fnp_markup.py diff --git a/fnpdjango/templatetags/fnp_markup.py b/fnpdjango/templatetags/fnp_markup.py index aa15466..2588486 100644 --- a/fnpdjango/templatetags/fnp_markup.py +++ b/fnpdjango/templatetags/fnp_markup.py @@ -1,4 +1,9 @@ -import textile +try: + import textile +except ImportError: + # This is optional. + pass + from django import template from django.utils.safestring import mark_safe from ..utils.text import textilepl