title: How to fix the html code in django template
body: <p>This is the template error right now.</p>
  
  <pre><code>   NoReverseMatch at /
          Reverse for 'product_detail' not found. 'product_detail' is not a valid view function or pattern name.
          Request Method: GET
          Request URL:    http://127.0.0.1:8000/
          Django Version: 2.2.6
          Exception Type: NoReverseMatch
          Exception Value:    
          Reverse for 'product_detail' not found. 'product_detail' is not a valid view function or pattern name.
          Exception Location: C:\Users\Others\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\resolvers.py in _reverse_with_prefix, line 673
          Python Executable:  C:\Users\Others\AppData\Local\Programs\Python\Python38\python.exe
          Python Version: 3.8.0
          Python Path:    
          ['C:\\reet\\mysite\\myshopping',
           'C:\\Users\\Others\\AppData\\Local\\Programs\\Python\\Python38\\python38.zip',
           'C:\\Users\\Others\\AppData\\Local\\Programs\\Python\\Python38\\DLLs',
           'C:\\Users\\Others\\AppData\\Local\\Programs\\Python\\Python38\\lib',
           'C:\\Users\\Others\\AppData\\Local\\Programs\\Python\\Python38',
           'C:\\Users\\Others\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages']
          Server time:    Tue, 29 Oct 2019 07:01:37 +0000
  
  Error during template rendering
  In template C:\reet\mysite\myshopping\shop\templates\shop\base.html, error at line 0
  </code></pre>
  
  <p>I think it's the path specified is incorrect,I not sure how to deal with this error.
  Reverse for 'product_detail' not found. 'product_detail' is not a valid view function or pattern name.</p>
  
  <pre><code>1   
  2   {% load static %}
  3   &lt;!DOCTYPE html&gt;
  4   &lt;html&gt;
  5   &lt;head&gt;
  6       &lt;meta charset="utf-8" /&gt;
  7       &lt;title&gt;{% block title %}My shop{% endblock %}&lt;/title&gt;
  8       &lt;link href="{% static "css/base.css" %}"  rel="stylesheet"&gt;
  9   &lt;/head&gt;
  10  &lt;body&gt;
  </code></pre>
  
  <p>I'm not sure how to figure this error,please do help,thanks in advance.</p>