File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
Expand file tree Collapse file tree 4 files changed +8
-7
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+ from django .templatetags import static
66
77"""
88>>> 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 ">
Original file line number Diff line number Diff line change 2727DEBUG = True
2828ALLOWED_HOSTS = ['*' ]
2929MARTOR_ENABLE_CONFIGS = {
30- 'imgur' : 'true' , # to enable/disable imgur/custom uploader.
31- 'mention' : 'true' , # to enable/disable mention
32- 'jquery' : 'true' , # to include/revoke jquery (require for admin default django)
33- 'living' : 'false' # to enable/disable live updates in preview
30+ 'imgur' : 'true' , # to enable/disable imgur/custom uploader.
31+ 'mention' : 'true' , # to enable/disable mention
32+ 'jquery' : 'true' , # to include/revoke jquery (require for admin default django)
33+ 'living' : 'false' , # to enable/disable live updates in preview
34+ 'spellcheck' : 'true' , # to enable/disable spellcheck in the editor.
3435}
3536
3637# Application definition
You can’t perform that action at this time.
0 commit comments