fixed template paths problem in initialize. was previously putting the general templates directory in the main root, moved it to share/templates

This commit is contained in:
ronnyabraham 2023-06-06 22:08:33 +03:00
parent 85c4c018e1
commit 7ee75bef12

View file

@ -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(