From 373434c3ef7c62ac3962861be823ff1d070a164f Mon Sep 17 00:00:00 2001 From: George Lacey Date: Fri, 7 May 2021 16:08:11 +0100 Subject: [PATCH] Access borg app from root url --- borgweb/borgweb/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/borgweb/borgweb/urls.py b/borgweb/borgweb/urls.py index c454953..5e770fd 100644 --- a/borgweb/borgweb/urls.py +++ b/borgweb/borgweb/urls.py @@ -15,8 +15,9 @@ Including another URLconf """ from django.contrib import admin from django.urls import include, path +from django.http import HttpResponseRedirect urlpatterns = [ - path('borg/', include('borg.urls')), + path('', include('borg.urls')), path('admin/', admin.site.urls), ]