diff --git a/.gitignore b/.gitignore index f3a0f6bc..6db2d758 100755 --- a/.gitignore +++ b/.gitignore @@ -648,3 +648,5 @@ api/lightning/lightning* api/lightning/invoices* api/lightning/router* api/lightning/googleapis* +frontend/static/admin* +frontend/static/rest_framework* \ No newline at end of file diff --git a/robosats/settings.py b/robosats/settings.py index 2c318fab..9f33ec60 100644 --- a/robosats/settings.py +++ b/robosats/settings.py @@ -10,12 +10,15 @@ For the full list of settings and their values, see https://docs.djangoproject.com/en/4.0/ref/settings/ """ +import os from pathlib import Path from decouple import config # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent +STATIC_URL = '/static/' +STATIC_ROOT = os.path.join(BASE_DIR, 'frontend/static/') # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/