git.p6c8.net
/
pcdenotes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated dependencies
[pcdenotes.git]
/
pcdenotes
/
settings.py
diff --git
a/pcdenotes/settings.py
b/pcdenotes/settings.py
index 5e82661fadc6233b1705e8bdacf0ad4c2f47ba08..5d22c296d5034a796966c68963d548bb049d6448 100644
(file)
--- a/
pcdenotes/settings.py
+++ b/
pcdenotes/settings.py
@@
-43,8
+43,9
@@
INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
- '
markdownify.apps.MarkdownifyConfig
',
+ '
filebrowser
',
'notes',
'notes',
+ 'notes.templatetags.notes_extras'
]
MIDDLEWARE = [
]
MIDDLEWARE = [
@@
-132,14
+133,17
@@
USE_TZ = True
STATIC_URL = '/static/'
STATIC_ROOT = BASE_DIR / 'static'
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'
# Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
-M
ARKDOWNIFY = {
- "default": {
- #"STRIP": False,
-
"BLEACH":
False
- }
-}
\ No newline at end of file
+M
EDIA_URL = '/media/'
+MEDIA_ROOT = BASE_DIR / 'media'
+
+
FILEBROWSER_NORMALIZE_FILENAME =
False
+FILEBROWSER_CONVERT_FILENAME = False
+
+NOTES_PER_PAGE = 5
patrick-canterino.de