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'),
]
[((78, 116), 'django.urls.path', 'path', (['"""home/"""', 'views.home'], {'name': '"""home"""'}), "('home/', views.home, name='home')\n", (82, 116), False, 'from django.urls import path, include\n'), ((124, 185), 'django.urls.path', 'path', (['"""add_hood/"""', 'views.uploadNeighbourhood'], {'name': '"""add_hood"""'}), "('add_hood/', views.uploadNeighbourhood, name='add_hood')\n", (128, 185), False, 'from django.urls import path, include\n'), ((192, 242), 'django.urls.path', 'path', (['"""viewhood/"""', 'views.viewHood'], {'name': '"""viewhood"""'}), "('viewhood/', views.viewHood, name='viewhood')\n", (196, 242), False, 'from django.urls import path, include\n'), ((249, 296), 'django.urls.path', 'path', (['"""hood/<int:pk>/"""', 'views.hood'], {'name': '"""hood"""'}), "('hood/<int:pk>/', views.hood, name='hood')\n", (253, 296), False, 'from django.urls import path, include\n'), ((303, 361), 'django.urls.path', 'path', (['"""add_bizna/"""', 'views.uploadBuisness'], {'name': '"""add_bizna"""'}), "('add_bizna/', views.uploadBuisness, name='add_bizna')\n", (307, 361), False, 'from django.urls import path, include\n'), ((368, 418), 'django.urls.path', 'path', (['"""bizna/"""', 'views.viewBizna'], {'name': '"""view_bizna"""'}), "('bizna/', views.viewBizna, name='view_bizna')\n", (372, 418), False, 'from django.urls import path, include\n'), ((425, 479), 'django.urls.path', 'path', (['"""viewbizna/<int:pk>/"""', 'views.bizna'], {'name': '"""bizna"""'}), "('viewbizna/<int:pk>/', views.bizna, name='bizna')\n", (429, 479), False, 'from django.urls import path, include\n'), ((486, 531), 'django.urls.path', 'path', (['"""post/"""', 'views.create_post'], {'name': '"""post"""'}), "('post/', views.create_post, name='post')\n", (490, 531), False, 'from django.urls import path, include\n'), ((538, 582), 'django.urls.path', 'path', (['"""posts/"""', 'views.viewPost'], {'name': '"""posts"""'}), "('posts/', views.viewPost, name='posts')\n", (542, 582), False, 'from django.urls import path, include\n'), ((589, 651), 'django.urls.path', 'path', (['"""searchbizna/"""', 'views.searchBizna'], {'name': '"""search_results"""'}), "('searchbizna/', views.searchBizna, name='search_results')\n", (593, 651), False, 'from django.urls import path, include\n'), ((657, 713), 'django.urls.path', 'path', (['"""searchhood/"""', 'views.searchHood'], {'name': '"""search_res"""'}), "('searchhood/', views.searchHood, name='search_res')\n", (661, 713), False, 'from django.urls import path, include\n'), ((719, 785), 'django.urls.path', 'path', (['"""join_hood/<id>"""', 'views.join_neighbourhood'], {'name': '"""join-hood"""'}), "('join_hood/<id>', views.join_neighbourhood, name='join-hood')\n", (723, 785), False, 'from django.urls import path, include\n'), ((791, 860), 'django.urls.path', 'path', (['"""leave_hood/<id>"""', 'views.leave_neighbourhood'], {'name': '"""leave-hood"""'}), "('leave_hood/<id>', views.leave_neighbourhood, name='leave-hood')\n", (795, 860), False, 'from django.urls import path, include\n')]