質問編集履歴
3
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -235,3 +235,11 @@
|
|
235
235
|
path('condition_form/', views.condition_form, name='form'),]
|
236
236
|
|
237
237
|
```
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
runserver実行後のターミナル画面
|
244
|
+
|
245
|
+
![イメージ説明](f0c6474ec540f81727360c32ab62be76.png)
|
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -196,7 +196,7 @@
|
|
196
196
|
|
197
197
|
```Django
|
198
198
|
|
199
|
-
#travel
|
199
|
+
#travel/urls.py
|
200
200
|
|
201
201
|
|
202
202
|
|
@@ -218,7 +218,7 @@
|
|
218
218
|
|
219
219
|
```Django
|
220
220
|
|
221
|
-
#travel_app/
|
221
|
+
#travel_app/urls.py
|
222
222
|
|
223
223
|
|
224
224
|
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -193,3 +193,45 @@
|
|
193
193
|
</html>
|
194
194
|
|
195
195
|
```
|
196
|
+
|
197
|
+
```Django
|
198
|
+
|
199
|
+
#travel_app/templates/travel/urls.py
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
from django.contrib import admin
|
204
|
+
|
205
|
+
from django.urls import path, include
|
206
|
+
|
207
|
+
from django.conf.urls import url
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
urlpatterns = [
|
212
|
+
|
213
|
+
path('admin/', admin.site.urls),
|
214
|
+
|
215
|
+
path('travel_app/', include('travel_app.urls')),]
|
216
|
+
|
217
|
+
```
|
218
|
+
|
219
|
+
```Django
|
220
|
+
|
221
|
+
#travel_app/templates/travel_app/urls.py
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
from django.urls import path
|
226
|
+
|
227
|
+
from . import views
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
urlpatterns = [
|
232
|
+
|
233
|
+
path('', views.index, name='index'),
|
234
|
+
|
235
|
+
path('condition_form/', views.condition_form, name='form'),]
|
236
|
+
|
237
|
+
```
|