Add bootstrap frontend

This commit is contained in:
Ranga Gonnage
2023-04-27 10:01:35 +02:00
parent 1b45bda8dc
commit f46d3722e4
34 changed files with 20608 additions and 56 deletions

View File

@@ -1,7 +1,9 @@
import os
from pathlib import Path
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
BASE_DIR = Path(__file__).resolve().parent.parent
# Quick-start development settings - unsuitable for production
@@ -106,4 +108,7 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.0/howto/static-files/
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
STATIC_URL = '/static/'
STATICFILES_DIRS = [BASE_DIR / "static",]