From a88dec96108078b8da47d326803835ab7e3dcc28 Mon Sep 17 00:00:00 2001 From: Pratyush Desai Date: Sat, 25 Dec 2021 06:48:03 +0530 Subject: [PATCH] basic routing --- website/api/urls.py | 0 website/blog/urls.py | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 website/api/urls.py diff --git a/website/api/urls.py b/website/api/urls.py new file mode 100644 index 0000000..e69de29 diff --git a/website/blog/urls.py b/website/blog/urls.py index 306c8bc..20d1748 100644 --- a/website/blog/urls.py +++ b/website/blog/urls.py @@ -1,6 +1,7 @@ -from django.urls import path +from django.urls import path, include from . import views urlpatterns = [ + path('blogs/', include('blog.urls')), path('', views.index, name='index') ] \ No newline at end of file