0.5.14 pdf articles export

This commit is contained in:
SDE
2024-07-17 01:50:03 +03:00
parent f11a3f0463
commit 845518b3ef
13 changed files with 310 additions and 40 deletions

View File

@@ -164,7 +164,9 @@ USE_TZ = False
# https://docs.djangoproject.com/en/4.2/howto/static-files/
MEDIA_URL = '/media/'
MEDIA_ROOT = 'media/'
# MEDIA_ROOT = 'media/'
import os
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
STATIC_URL = '/static/'
STATIC_ROOT = '/'