title: Reverse for 'product' with no arguments not found. 1 pattern(s) tried: ['product\\/(?P<slug>[^/]+)\\/$']
body: <p>I am trying to build an ecommerce website, but i am can proceed due to the error shown above. Thanks </p>
  
  <p>url.py file</p>
  
  <pre><code>from django.urls import path
  from .**views import ItemDetailView, HomeView, checkout
  
  app_name = 'core'
  
  urlpatterns =[
      path('', HomeView.as_view(), name='homepage'),
      path('checkout/', checkout, name='checkout'),
      path('product/&lt;slug&gt;/', ItemDetailView.as_view(), name='product')
  </code></pre>
  
  <p>views.py file</p>
  
  <pre><code>from django.shortcuts import render
  from .models import Item
  from django.views.generic import ListView, DetailView
  
  class HomeView(ListView):
      model = Item
      template_name = "home-page.html"
  
  class ItemDetailView(DetailView):
      model = Item
      template_name = "product-page.html"
  
  def checkout(request):
      return render(request, 'checkout-page.html')
  </code></pre>
  
  <p>html template</p>
  
  <pre><code>&lt;a class="nav-link waves-effect" href="{% url 'core:product' %}" target="_blank"&gt;Products&lt;/a&gt;
  </code></pre>