]> 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 1c79c5c97d42cb62f246e8aef23214b3ac08135f..6225f2fe121f5778b3844bd6848fed5efb8d5d44 100644 (file)
@@ -43,6 +43,7 @@ INSTALLED_APPS = [
     'django.contrib.sessions',
     'django.contrib.messages',
     'django.contrib.staticfiles',
+    'filebrowser',
     'notes',
     'notes.templatetags.notes_extras'
 ]
@@ -139,4 +140,7 @@ STATICFILES_DIRS = [BASE_DIR / 'notes/static']
 
 DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
 
+MEDIA_URL = '/media/'
+MEDIA_ROOT = BASE_DIR / 'media'
+
 NOTES_PER_PAGE = 5
\ No newline at end of file

patrick-canterino.de