""" Django settings for api-sandbox project. Generated by 'django-admin startproject' using Django 4.2.1. For more information on this file, see https://docs.djangoproject.com/en/4.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/4.2/ref/settings/ """ import os import sys # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) PROJECT_ROOT = os.path.abspath(os.path.join(BASE_DIR, os.pardir)) # # add the directory that has the intialize.py module which contains the # get_config function definition which will pull out all the configuraiton # infomration for the settings file sys.path.insert(0, os.path.join( PROJECT_ROOT, 'usr/bin/customfabric')) # # add an "apps" directory to this project, which is where all the apps # ought to be in the first place. sys.path.insert(0, os.path.join(BASE_DIR, 'apps')) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'Q*B7#Of9xYNaR<$V02?rLnWHz@K;Vy,q9Y=9[Wd%j