Commit c0bce38c authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

fix RedirectView pattern

parent 2da2a4f7
Pipeline #3403 passed with stages
in 48 seconds
......@@ -40,5 +40,5 @@ urlpatterns = [
path('graph', TemplateView.as_view(template_name='rainboard/graph.html'), name='graph'),
path('api/', include(router.urls)),
path('api-auth/', include('rest_framework.urls', namespace='rest_framework')),
path('<str:slug>', RedirectView.as_view(pattern_name='project'), name='project_redirect'),
path('<str:slug>', RedirectView.as_view(pattern_name='rainboard:project'), name='project_redirect'),
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment