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:
parent
85c4c018e1
commit
7ee75bef12
1 changed files with 4 additions and 0 deletions
|
|
@ -362,8 +362,12 @@ def get_config(branchname):
|
||||||
dataobject.paths.django.root,
|
dataobject.paths.django.root,
|
||||||
layout['paths']['django']['apps'])
|
layout['paths']['django']['apps'])
|
||||||
|
|
||||||
|
#
|
||||||
|
# create 'configuration.paths.django.templates'
|
||||||
|
|
||||||
dataobject.paths.django.templates = os.path.join(
|
dataobject.paths.django.templates = os.path.join(
|
||||||
dataobject.paths.project.root,
|
dataobject.paths.project.root,
|
||||||
|
'share',
|
||||||
'templates')
|
'templates')
|
||||||
|
|
||||||
dataobject.paths.django.fixtures = os.path.join(
|
dataobject.paths.django.fixtures = os.path.join(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue