另外,我想知道路径函数在django 1.x上是否有效。Method: POSTUsing the URLconf defined in seany.urls, Django‘url.py’ from django.conf.urls import urlfrom seany_user.views importindex,
我希望我的用户在URL中使用英文单词"series“或相当于法语的"séries”作为参数来访问我的API的特定位置。URL和后续扩展名将反转为使用英语单词。这是我的第一次尝试: path(r"series/", include("series.public_urls", namespace="series")),You may not be able to
我遇到了这个错误,当我尝试使用Django将用户重定向到一个网页时,它显示了这个错误 maximum recursion depth exceeded views.py from django.shortcutsredirect("https://google.com") path('', views.redirect, n