1👍
✅
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR,'..', 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
1👍
Django looks in the templates
directory for each app. Therefore your portfolio/skill_list.html
template should be in mysite/portfolio/templates/portfolio/skill_list.html
.
- [Answered ]-Making two player chess app with Django– need player's board to update when opponent makes a move
- [Answered ]-How to implement forget password functionality using Django and Python
Source:stackexchange.com