Skip to content

Instantly share code, notes, and snippets.

@Taohid0
Last active April 23, 2019 18:34
Show Gist options
  • Save Taohid0/961410e4d61ebdbd7bc241022dc3595e to your computer and use it in GitHub Desktop.
Save Taohid0/961410e4d61ebdbd7bc241022dc3595e to your computer and use it in GitHub Desktop.
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'book-frontend')] #Look, we have added the root folder of frontend here
,
'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',
],
},
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment