Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 46822f5

Browse files
add path to our templates folder
1 parent 2525992 commit 46822f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎blog/settings.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
TEMPLATES = [
5656
{
5757
'BACKEND': 'django.template.backends.django.DjangoTemplates',
58-
'DIRS': [],
58+
'DIRS': [os.path.join(BASE_DIR, 'templates')],
5959
'APP_DIRS': True,
6060
'OPTIONS': {
6161
'context_processors': [

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /