X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/f534e3e94d119d6baa2edebfd69e3d1ee055e57b..36a2bfc8fc84eefbb9f2e69a38f3a51a74850e34:/pcdenotes/settings.py diff --git a/pcdenotes/settings.py b/pcdenotes/settings.py index 88b705d..5d22c29 100644 --- a/pcdenotes/settings.py +++ b/pcdenotes/settings.py @@ -43,8 +43,9 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', - 'markdownify.apps.MarkdownifyConfig', + 'filebrowser', 'notes', + 'notes.templatetags.notes_extras' ] MIDDLEWARE = [ @@ -139,11 +140,10 @@ STATICFILES_DIRS = [BASE_DIR / 'notes/static'] DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' -MARKDOWNIFY = { - "default": { - #"STRIP": False, - "BLEACH": False - } -} +MEDIA_URL = '/media/' +MEDIA_ROOT = BASE_DIR / 'media' + +FILEBROWSER_NORMALIZE_FILENAME = False +FILEBROWSER_CONVERT_FILENAME = False -NOTES_PER_PAGE = 5 \ No newline at end of file +NOTES_PER_PAGE = 5