X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/b1d50cd18059249477f05f4d6c04348afd016341..c7680f63416bfb4e05c97d024e767ab7501c944d:/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