Added site logo

This commit is contained in:
Dmitriy Andreev
2021-02-10 21:18:38 +03:00
parent 972ee3e4d4
commit 298baa3198
4 changed files with 7 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ https://docs.djangoproject.com/en/3.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
import os
from pathlib import Path
# Build paths inside the project like this: BASE_DIR / 'subdir'.
@@ -121,8 +121,9 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.1/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATICFILES_DIRS = [
'static'
os.path.join(BASE_DIR, 'staticfiles'),
]
MEDIA_ROOT = BASE_DIR / 'media'