Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下 URL 模式:
path('my_path/(?P<url>\w+)/$', views.my_view)
网址在哪里,url例如 https:www.google.com
url
它总是说找不到路径。
将 url 作为 url 参数传递的正确方法是什么?
您可以将 url 作为查询参数而不是路径参数传递。