質問編集履歴

1

url.py追加

2022/03/03 00:38

投稿

maru
maru

スコア257

test CHANGED
File without changes
test CHANGED
@@ -23,4 +23,12 @@
23
23
  ・gunicorn
24
24
  ・Python + Django
25
25
  ```
26
-
26
+ ```url.py
27
+ urlpatterns = [
28
+ path('', include(('agentApp.urls','oooo'))),
29
+ path('/', include(('agentApp.urls','oooo'))),
30
+ path('oooo/', include(('agentApp.urls','oooo'))),
31
+ path('admin/', admin.site.urls),
32
+ path('sitemap.xml', sitemap, {'sitemaps': sitemaps}, name='sitemap'),
33
+ ]
34
+ ```