X-Git-Url: https://git.p6c8.net/pcdenotes.git/blobdiff_plain/69d7df229ddc5c993178928ad91f3273080da42c..8a437b3b83dd65a0e790c375f95bddd9d1ef1c71:/pcdenotes/settings.py?ds=sidebyside diff --git a/pcdenotes/settings.py b/pcdenotes/settings.py index 1c79c5c..5d22c29 100644 --- a/pcdenotes/settings.py +++ b/pcdenotes/settings.py @@ -43,6 +43,7 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', + 'filebrowser', 'notes', 'notes.templatetags.notes_extras' ] @@ -139,4 +140,10 @@ STATICFILES_DIRS = [BASE_DIR / 'notes/static'] DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' -NOTES_PER_PAGE = 5 \ No newline at end of file +MEDIA_URL = '/media/' +MEDIA_ROOT = BASE_DIR / 'media' + +FILEBROWSER_NORMALIZE_FILENAME = False +FILEBROWSER_CONVERT_FILENAME = False + +NOTES_PER_PAGE = 5