diff --git a/coffeemachine/urls.py b/coffeemachine/urls.py index 12ee624..00fc504 100644 --- a/coffeemachine/urls.py +++ b/coffeemachine/urls.py @@ -16,8 +16,10 @@ Including another URLconf """ from django.contrib import admin from django.urls import path, include +from django.views.generic import RedirectView urlpatterns = [ path('admin/', admin.site.urls), - + path('servers/', include("coffeemachine.servers.urls")), + path('', RedirectView.as_view(url="servers/")), ]