add static dir

main
eric 2023-03-24 16:13:49 -04:00
parent 04c18e4e03
commit cc02109978
3 changed files with 5 additions and 4 deletions

View File

@ -9,12 +9,11 @@ https://docs.djangoproject.com/en/4.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.1/ref/settings/
"""
import os
from pathlib import Path
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
print(BASE_DIR)
BASE_DIR = Path(__file__).resolve().parent.parent.parent
ALLOWED_HOSTS = []
@ -98,6 +97,8 @@ USE_TZ = True
STATIC_URL = 'static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
# Default primary key field type
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field

View File

@ -6,6 +6,6 @@
<h1>
Welcome to DOAB Check!
</h1>
<img src='/static/fef_logo_large.png'>
</body>
</html>

BIN
static/fef_logo_large.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB