add static folder

This commit is contained in:
Carmen Ngaka Iziasuma 2024-02-09 14:44:15 +01:00
parent f7efe81fa8
commit 0256cce986
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/5.0/ref/settings/
"""
from pathlib import Path
import os
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
@ -117,6 +118,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/5.0/howto/static-files/
STATIC_URL = 'static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
# Default primary key field type
# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field

BIN
db.sqlite3 Normal file

Binary file not shown.