from django.urls import path
from .views import search_product, index

urlpatterns = [
    # Path: /  (The Home Page)
    path('', index, name='home'),
    
    # Path: /search/ (The API endpoint the HTML talks to)
    path('search/', search_product, name='search_product'),
]