from django.urls import include, path,re_path from . import views app_name="home" #(?P[a-z0-9]+/)? urlpatterns =[ re_path('nearly_hospitals',views.nearly_hospitals), ]