]> git.p6c8.net - pcdenotes.git/blobdiff - pcdenotes/settings.py
Added "django-filebrowser-no-grappelli" as a upload management tool
[pcdenotes.git] / pcdenotes / settings.py
index 5e82661fadc6233b1705e8bdacf0ad4c2f47ba08..6225f2fe121f5778b3844bd6848fed5efb8d5d44 100644 (file)
@@ -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 = [
@@ -132,14 +133,14 @@ 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
+MEDIA_URL = '/media/'
+MEDIA_ROOT = BASE_DIR / 'media'
+
+NOTES_PER_PAGE = 5
\ No newline at end of file

patrick-canterino.de