basic routing

This commit is contained in:
Pratyush Desai 2021-12-25 06:48:03 +05:30
parent 5a05e1f8ec
commit a88dec9610
Signed by: pratyush
GPG Key ID: DBA5BB7505946FAD
2 changed files with 2 additions and 1 deletions

0
website/api/urls.py Normal file
View File

View File

@ -1,6 +1,7 @@
from django.urls import path from django.urls import path, include
from . import views from . import views
urlpatterns = [ urlpatterns = [
path('blogs/', include('blog.urls')),
path('', views.index, name='index') path('', views.index, name='index')
] ]