回答編集履歴

1

些細な追記と修正

2022/09/20 00:08

投稿

quickquip
quickquip

スコア11051

test CHANGED
@@ -7,18 +7,18 @@
7
7
 
8
8
  > The reason for the extra admin folder is to avoid getting our template overridden by a template named index.html in the actual application template folder.
9
9
 
10
- とある通り、Blueprint ごとの個別のディレクトリを用意してテンプレートの名前を切り分けるのが常套手段です。
10
+ とある通り、Blueprint ごとのテンプレートフォルダの中に(冗長に思えるかもしれませんが)個別のディレクトリを用意してテンプレートの名前を切り分けるのが常套手段です。
11
- アプリケーションの方のテンプレートが探索されて上書きされるのを防ぐためです。
11
+ アプリケーションの方のテンプレートが探索されて、そちらで上書きされるのを防ぐためです。
12
12
 
13
13
  ----
14
14
 
15
15
  ```plain
16
16
  ├── app.py
17
17
  ├── blueprint_a
18
-    ├── bp_templates
18
+ ├── bp_templates
19
-      └── blueprint_a
19
+ └── blueprint_a
20
-      └── index.html
20
+ └── index.html
21
-    └── views.py
21
+ └── views.py
22
22
  └── templates
23
23
  └── common
24
24
  └── form.html
@@ -89,4 +89,4 @@
89
89
 
90
90
  ----
91
91
 
92
- 何に困っているのか分からない状況ですがひとま
92
+ 何に困っているのか分からない状況ですがひとま