]> git.p6c8.net - pcdenotes.git/blobdiff - pcdenotes/settings.py
Added link to CC BY 4.0
[pcdenotes.git] / pcdenotes / settings.py
index 1d455a7f3b5c07bb7b41825c2458ffbe70548f96..1c79c5c97d42cb62f246e8aef23214b3ac08135f 100644 (file)
@@ -43,8 +43,8 @@ INSTALLED_APPS = [
     'django.contrib.sessions',
     'django.contrib.messages',
     'django.contrib.staticfiles',
     'django.contrib.sessions',
     'django.contrib.messages',
     'django.contrib.staticfiles',
-    'markdownify.apps.MarkdownifyConfig',
     'notes',
     'notes',
+    'notes.templatetags.notes_extras'
 ]
 
 MIDDLEWARE = [
 ]
 
 MIDDLEWARE = [
@@ -132,16 +132,11 @@ 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'
 
-MARKDOWNIFY = {
-    "default": {
-        #"STRIP": False,
-        "BLEACH": False
-    }
-}
-
 NOTES_PER_PAGE = 5
\ No newline at end of file
 NOTES_PER_PAGE = 5
\ No newline at end of file

patrick-canterino.de