from django.urls import path,include
from . import views

urlpatterns = [
    path('home/', views.home, name = 'home'),
    path('add_hood/',views.uploadNeighbourhood, name = 'add_hood'),
    path('viewhood/',views.viewHood, name = 'viewhood'),
    path('hood/<int:pk>/',views.hood, name = 'hood'),
    path('add_bizna/',views.uploadBuisness, name = 'add_bizna'),
    path('bizna/',views.viewBizna, name = 'view_bizna'),
    path('viewbizna/<int:pk>/',views.bizna, name = 'bizna'),
    path('post/',views.create_post, name = 'post'),
    path('posts/',views.viewPost, name = 'posts'),
    path('searchbizna/', views.searchBizna, name="search_results"),
    path('searchhood/', views.searchHood, name="search_res"),
    path('join_hood/<id>', views.join_neighbourhood, name='join-hood'),
    path('leave_hood/<id>', views.leave_neighbourhood, name='leave-hood'),
]
[((5, 4, 5, 44), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((6, 4, 6, 66), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((7, 4, 7, 55), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((8, 4, 8, 52), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((9, 4, 9, 63), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((10, 4, 10, 55), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((11, 4, 11, 59), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((12, 4, 12, 50), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((13, 4, 13, 49), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((14, 4, 14, 66), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((15, 4, 15, 60), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((16, 4, 16, 70), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n'), ((17, 4, 17, 73), 'django.urls.path', 'path', (), '', False, 'from django.urls import path, include\n')]