Commit f381c8660566fa9019295e51db9d4a4271f0e86f
1 parent
0a4686ef
Add redirection from '/' to 'annotation'
Showing
1 changed file
with
3 additions
and
0 deletions
collector/collector/urls.py
... | ... | @@ -15,8 +15,11 @@ Including another URLconf |
15 | 15 | """ |
16 | 16 | from django.contrib import admin |
17 | 17 | from django.urls import include, path |
18 | +from django.views.generic import RedirectView | |
19 | + | |
18 | 20 | |
19 | 21 | urlpatterns = [ |
22 | + path('', RedirectView.as_view(url='annotation', permanent=False), name='index'), | |
20 | 23 | path('admin/', admin.site.urls), |
21 | 24 | path('', include('pipeline.urls')), |
22 | 25 | path('', include('storage.urls')), |
... | ... |