File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
martor_demo/app/templates Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 22from ..settings import (
33 MARTOR_MARKDOWN_BASE_EMOJI_URL ,
44 MARTOR_MARKDOWN_BASE_EMOJI_USE_STATIC )
5- from django .contrib .staticfiles .templatetags .staticfiles import static
5+ try :
6+ from django .contrib .staticfiles .templatetags .staticfiles import static
7+ except ModuleNotFoundError :
8+ from django .templatetags .static import static
69
710"""
811>>> import markdown
Original file line number Diff line number Diff line change 1- {% load staticfiles %}<!DOCTYPE html>
1+ {% load static %}<!DOCTYPE html>
22< html lang ="en-us ">
33< head >
44 < title > {% block title %}{% endblock %} :: Martor</ title >
Original file line number Diff line number Diff line change 1- {% load staticfiles %}
1+ {% load static %}
22{% load martortags %}
33<!DOCTYPE html>
44< html lang ="en-us ">
You can’t perform that action at this time.
0 commit comments