add static dir
parent
04c18e4e03
commit
cc02109978
|
@ -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
|
||||
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
<h1>
|
||||
Welcome to DOAB Check!
|
||||
</h1>
|
||||
|
||||
<img src='/static/fef_logo_large.png'>
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
Loading…
Reference in New Issue