urls.py 182 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 from django.urls import include, path,re_path from . import views app_name="home" #(?P<sub_name>[a-z0-9]+/)? urlpatterns =[ re_path('nearly_hospitals',views.nearly_hospitals), ]