Changeset - 1e494a4e1162
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 7 months ago 2023-10-05 06:45:36
ben@sturm.com.au
Update template BASE_DIR now settings have moved in a directory
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
www/conservancy/settings.py
Show inline comments
...
 
@@ -101,13 +101,13 @@ INSTALLED_APPS = [
 

	
 
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
 

	
 
_conservancy_root_dir = Path(__file__).resolve().parent / 'conservancy'
 
BASE_DIR = Path(__file__).resolve().parent.parent
 
TEMPLATES = [
 
   {
 
      'BACKEND': 'django.template.backends.django.DjangoTemplates',
 
      'DIRS': [
 
         _conservancy_root_dir / 'templates',
 
         _conservancy_root_dir / 'static',
 
         BASE_DIR / 'conservancy' / 'templates',
 
         BASE_DIR / 'conservancy' / 'static',
 
      ],
 
      'APP_DIRS': True,
 
      'OPTIONS': {
0 comments (0 inline, 0 general)