We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3dc444 commit b308df7Copy full SHA for b308df7
toolhub/urls.py
@@ -23,7 +23,6 @@
23
RedirectView.as_view(permanent=False, pattern_name="tools:detail"),
24
name="tool_short",
25
), # redirect /t/#/ to /tools/#/
26
- path("<path:url>", views.flatpage),
27
]
28
29
handler400 = toolhub_views.BadRequest.as_view()
@@ -48,3 +47,6 @@
48
47
import debug_toolbar
49
50
urlpatterns += [path("__debug__/", include(debug_toolbar.urls))]
+
51
+# Catch all urls
52
+urlpatterns += [path("<path:url>", views.flatpage)]
0 commit comments