X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/80a429d30dd44b0274bf92486fa7639441116ced..017be23b1a8245d5d6960987a2aa529237b3a0c2:/pcdenotes/settings.py?ds=sidebyside diff --git a/pcdenotes/settings.py b/pcdenotes/settings.py index 5e82661..1c79c5c 100644 --- a/pcdenotes/settings.py +++ b/pcdenotes/settings.py @@ -43,8 +43,8 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', - 'markdownify.apps.MarkdownifyConfig', 'notes', + 'notes.templatetags.notes_extras' ] MIDDLEWARE = [ @@ -132,14 +132,11 @@ USE_TZ = True STATIC_URL = '/static/' STATIC_ROOT = BASE_DIR / 'static' +STATICFILES_DIRS = [BASE_DIR / 'notes/static'] + # Default primary key field type # https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' -MARKDOWNIFY = { - "default": { - #"STRIP": False, - "BLEACH": False - } -} \ No newline at end of file +NOTES_PER_PAGE = 5 \ No newline at end of file