By default forward to workshop list
This commit is contained in:
parent
d5388a0fb4
commit
d50c18548b
1 changed files with 2 additions and 0 deletions
|
@ -17,9 +17,11 @@ from django.contrib import admin
|
|||
from django.urls import path, include
|
||||
from django.conf import settings
|
||||
from django.conf.urls.static import static
|
||||
from django.views.generic import RedirectView
|
||||
|
||||
urlpatterns = [
|
||||
path('', include('inventory.urls')),
|
||||
path('', RedirectView.as_view(pattern_name='workshop-list', permanent=False)),
|
||||
path('accounts/', include('django.contrib.auth.urls')),
|
||||
path('admin/', admin.site.urls),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue