here is the issue Here is one solution I tried:
- "os.path.join(SETTINGS_PATH, 'templates'),"(I substituted SETTINGS_PATH with BASE_DIR, and the setting.py terminated without any errors but still the problem isn't solved. how am I supposed to inherit the template, it has to be in a folder which I should make? also, the directory of cms_wizard/create isn't making sense as shown in the image above how do I fix it.
Here is my setting.py
```
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'sekizai.context_processors.sekizai',
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'cms.context_processors.cms_settings',
'django.template.context_processors.i18n',
],
},
},
]
```
Aucun commentaire:
Enregistrer un commentaire