From 7ee75bef12dc76cefa8cfc9b5788d01f873f78b9 Mon Sep 17 00:00:00 2001 From: ronnyabraham Date: Tue, 6 Jun 2023 22:08:33 +0300 Subject: [PATCH] fixed template paths problem in initialize. was previously putting the general templates directory in the main root, moved it to share/templates --- modules/initialize.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/initialize.py b/modules/initialize.py index 4f6d55f..3fccbda 100644 --- a/modules/initialize.py +++ b/modules/initialize.py @@ -362,8 +362,12 @@ def get_config(branchname): dataobject.paths.django.root, layout['paths']['django']['apps']) + # + # create 'configuration.paths.django.templates' + dataobject.paths.django.templates = os.path.join( dataobject.paths.project.root, + 'share', 'templates') dataobject.paths.django.fixtures = os.path.join(