title: I am having a problem linking my HTML pages in Python Django web framework
body: <p>I am getting an error when I run my django application and I saw that I have a problem in my url configuration and templates linking.</p>
  <p>app/views.py</p>
  <pre><code>  from django.shortcuts import render
  from django.views import generic
  from .models import Post
  
  
  class PostList(generic.ListView):
      queryset = Post.objects.filter(status=1).order_by('-created_on')
      template_name = 'blog/index.html'
  
  
  class PostDetail(generic.DetailView):
      model = Post
      template_name = 'blog/post_detail.html'
  
  
  def home(request):
      return render(request, 'blog/home.html')
  
  def about(request):
      return render(request, 'blog/about.html')
  
  def contact(request):
      return render(request, 'blog/contact1.html')
  </code></pre>
  <p>models.py</p>
  <pre><code>from django.db import models
  from django.contrib.auth.models import User
  
  
  STATUS = (
      (0,&quot;Draft&quot;),
      (1,&quot;Publish&quot;)
  )
  
  class Post(models.Model):
      title = models.CharField(max_length=200, unique=True)
      slug = models.SlugField(max_length=200, unique=True)
      author = models.ForeignKey(User, on_delete= models.CASCADE,related_name='blog_posts')
      updated_on = models.DateTimeField(auto_now= True)
      content = models.TextField()
      created_on = models.DateTimeField(auto_now_add=True)
      status = models.IntegerField(choices=STATUS, default=0)
  
      class Meta:
          ordering = ['-created_on']
  
      def __str__(self):
          return self.title
  </code></pre>
  <p>project/urls.py</p>
  <pre><code>from django.contrib import admin
  from django.conf.urls import url, include
  from blog import views
  
  
  urlpatterns = [
      url(r'', views.home, name='home'),
      url(r'^admin/', admin.site.urls),
      url(r'^blog/', include('blog.urls')),
      
  ]
  </code></pre>
  <p>app/urls.py</p>
  <pre><code>  from django.conf.urls import url
  from blog import views
  
  #Template tagging
  app_name = 'blog'
  
  urlpatterns = [
      url(r'^about/$', views.about, name='about'),
      url(r'^contact/$', views.contact, name='contact'),
      url(r'', views.PostList.as_view(), name='index'),
      url(r'&lt;slug:slug&gt;/', views.PostDetail.as_view(), name='post_detail'),
  ]
  </code></pre>
  <p>templates/home.html --one of my html files</p>
  <pre><code>    &lt;!DOCTYPE html&gt;
  {% load static %}
  &lt;html lang=&quot;en&quot;&gt;
  
  &lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
    &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;ie=edge&quot;&gt;
    &lt;link rel=&quot;stylesheet&quot; href=&quot;{% static &quot;all.css&quot; %}&quot;&gt;
    &lt;link rel=&quot;stylesheet&quot; href=&quot;{% static &quot;bootstrap.css&quot; %}&quot;&gt;
    &lt;link rel=&quot;stylesheet&quot; href=&quot;{%static &quot;style.css&quot; %}&quot;&gt;
    &lt;title&gt;Online yuridik xizmatlar&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;nav class=&quot;navbar navbar-expand-sm navbar-dark bg-dark&quot;&gt;
      &lt;div class=&quot;container&quot;&gt;
        &lt;a href=&quot;{% url 'blog:home' %}&quot; class=&quot;navbar-brand&quot;&gt;&lt;i class=&quot;fas fa-balance-scale&quot;&gt;iLawyer.uz&lt;/i&gt;&lt;/a&gt;
        &lt;button class=&quot;navbar-toggler&quot; data-toggle=&quot;collapse&quot; data-target=&quot;#navbarCollapse&quot;&gt;
          &lt;span class=&quot;navbar-toggler-icon&quot;&gt;&lt;/span&gt;
        &lt;/button&gt;
        &lt;div class=&quot;collapse navbar-collapse&quot; id=&quot;navbarCollapse&quot;&gt;
          &lt;ul class=&quot;navbar-nav ml-auto&quot;&gt;
            &lt;li class=&quot;nav-item&quot;&gt;
              &lt;a href=&quot;{% url 'blog:home' %}&quot; class=&quot;nav-link&quot;&gt;Bosh sahifa&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class=&quot;nav-item&quot;&gt;
              &lt;a href=&quot;{% url 'blog:about' %}&quot; class=&quot;nav-link&quot;&gt;Biz haqimizda&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class=&quot;nav-item&quot;&gt;
              &lt;a href=&quot;{% url 'blog:index' %}&quot; class=&quot;nav-link&quot;&gt;Blog&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class=&quot;nav-item&quot;&gt;
              &lt;a href=&quot;{% url 'blog:contact' %}&quot; class=&quot;nav-link&quot;&gt;Biz bilan bog'laning&lt;/a&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/nav&gt;
  
    &lt;!--Live chat--&gt;
    &lt;script src=&quot;https://apps.elfsight.com/p/platform.js&quot; defer&gt;&lt;/script&gt;
  &lt;div class=&quot;elfsight-app-ea6b60a1-0209-4c7c-b0a3-e902f08b035b&quot;&gt;&lt;/div&gt;
  
  
    &lt;!-- SHOWCASE SLIDER --&gt;
    &lt;section id=&quot;showcase&quot;&gt;
      &lt;div id=&quot;myCarousel&quot; class=&quot;carousel slide&quot; data-ride=&quot;carousel&quot;&gt;
        &lt;ol class=&quot;carousel-indicators&quot;&gt;
          &lt;li data-target=&quot;#myCarousel&quot; data-slide-to=&quot;0&quot; class=&quot;active&quot;&gt;&lt;/li&gt;
          &lt;li data-target=&quot;#myCarousel&quot; data-slide-to=&quot;1&quot;&gt;&lt;/li&gt;
          &lt;li data-target=&quot;#myCarousel&quot; data-slide-to=&quot;2&quot;&gt;&lt;/li&gt;
        &lt;/ol&gt;
        &lt;div class=&quot;carousel-inner&quot;&gt;
          &lt;div class=&quot;carousel-item active&quot;&gt;
            &lt;img src=&quot;{% static &quot;assets/IMG_20181202_080054_048.jpg&quot; %}&quot; alt=&quot;&quot; class=&quot;imgcar&quot;&gt;
            &lt;div class=&quot;container&quot;&gt;
              &lt;div class=&quot;carousel-caption d-none d-sm-block text-right mb-5&quot;&gt;
                &lt;h1 class=&quot;display-3&quot;&gt;Ko'p yillik tajriba&lt;/h1&gt;
                &lt;p class=&quot;lead&quot;&gt;Lorem ipsum dolor sit amet consectetur adipisicing elit. Iste, aperiam vel ullam deleniti reiciendis ratione quod aliquid inventore vero perspiciatis.&lt;/p&gt;
                &lt;a href=&quot;#&quot; class=&quot;btn btn-danger btn-lg&quot;&gt;Hoziroq ro'yxatdan o'ting&lt;/a&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
  
          &lt;div class=&quot;carousel-item &quot;&gt;
            &lt;img src=&quot;{% static &quot;assets/IMG_20181206_161518_451.jpg&quot; %}&quot; alt=&quot;&quot;class=&quot;imgcar&quot;&gt;
            &lt;div class=&quot;container&quot;&gt;    
              &lt;div class=&quot;carousel-caption d-none d-sm-block mb-5&quot;&gt;
                &lt;h1 class=&quot;display-3&quot;&gt;Tajribali mutaxasisslar&lt;/h1&gt;
                &lt;p class=&quot;lead&quot;&gt;Lorem ipsum dolor sit amet consectetur adipisicing elit. Iste, aperiam vel ullam deleniti reiciendis ratione quod aliquid inventore vero perspiciatis.&lt;/p&gt;
                &lt;a href=&quot;#&quot; class=&quot;btn btn-primary btn-lg&quot;&gt;Ko'proq ma'lumot&lt;/a&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
  
          &lt;div class=&quot;carousel-item&quot;&gt;
            &lt;img src=&quot;{% static &quot;assets/IMG_20181212_150700_070.jpg&quot; %}&quot; alt=&quot;&quot;class=&quot;imgcar&quot;&gt;
            &lt;div class=&quot;container&quot;&gt;
              &lt;div class=&quot;carousel-caption d-none d-sm-block text-right mb-5&quot;&gt;
                &lt;h1 class=&quot;display-3&quot;&gt;O'zaro ishonch&lt;/h1&gt;
                &lt;p class=&quot;lead&quot;&gt;Lorem ipsum dolor sit amet consectetur adipisicing elit. Iste, aperiam vel ullam deleniti reiciendis ratione quod aliquid inventore vero perspiciatis.&lt;/p&gt;
                &lt;a href=&quot;#&quot; class=&quot;btn btn-success btn-lg&quot;&gt;Ko'proq ma'lumot&lt;/a&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
  
        &lt;a href=&quot;#myCarousel&quot; data-slide=&quot;prev&quot; class=&quot;carousel-control-prev&quot;&gt;
          &lt;span class=&quot;carousel-control-prev-icon&quot;&gt;&lt;/span&gt;
        &lt;/a&gt;
  
        &lt;a href=&quot;#myCarousel&quot; data-slide=&quot;next&quot; class=&quot;carousel-control-next&quot;&gt;
          &lt;span class=&quot;carousel-control-next-icon&quot;&gt;&lt;/span&gt;
        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/section&gt;
  
    &lt;!--Ijtimoiy tarmoqlar uchun link--&gt;
  
   &lt;div id=&quot;home-icons&quot; class=&quot;my-5 text-center&quot;&gt;
     &lt;div class=&quot;container&quot;&gt;
       &lt;div class=&quot;row&quot;&gt;
         &lt;div class=&quot;col-md-4&quot;&gt;
          &lt;i class=&quot;fab fa-telegram-plane fa-3x mb-3&quot;&gt;&lt;/i&gt;
          &lt;h3&gt;Telegramdagi kanal&lt;/h3&gt;
          &lt;p&gt;Lorem ipsum dolor sit amet consectetur adipisicing elit. Odit, sapiente?&lt;/p&gt;
         &lt;/div&gt;
         &lt;div class=&quot;col-md-4&quot;&gt;
          &lt;i class=&quot;fab fa-facebook-f fa-3x mb-3&quot;&gt;&lt;/i&gt;
          &lt;h3&gt;Facebookdagi sahifa&lt;/h3&gt;
          &lt;p&gt;Lorem ipsum dolor sit amet consectetur adipisicing elit. Odit, sapiente?&lt;/p&gt;
         &lt;/div&gt;
         &lt;div class=&quot;col-md-4&quot;&gt;
          &lt;i class=&quot;fab fa-instagram fa-3x mb-3&quot;&gt;&lt;/i&gt;
          &lt;h3&gt;Instagramdagi sahifa&lt;/h3&gt;
          &lt;p&gt;Lorem ipsum dolor sit amet consectetur adipisicing elit. Odit, sapiente?&lt;/p&gt;
         &lt;/div&gt;
       &lt;/div&gt;
     &lt;/div&gt;
   &lt;/div&gt;
  
  
   &lt;div id=&quot;bg-box&quot; class= &quot;text-center text-white&quot;&gt;
     &lt;div class=&quot;dark-overlay py-5&quot;&gt;
       &lt;div class=&quot;container&quot;&gt;
         &lt;h1&gt;Bizni ijtimoiy tarmoqlarda kuzating&lt;/h1&gt;
         &lt;p&gt;Lorem, ipsum dolor sit amet consectetur adipisicing elit. Eius iure, officiis magni delectus corrupti dolorum?&lt;/p&gt;
       &lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  
  
  
  &lt;!--Abour us--&gt;
  
  
  &lt;div class=&quot;about-icons pb-5 my-5&quot;&gt;
    &lt;div class=&quot;container text-white text-center&quot;&gt;
      &lt;div class=&quot;row&quot;&gt;
        &lt;div class=&quot;col-md-4&quot;&gt;
          &lt;div class=&quot;card bg-danger p-4 my-4&quot;&gt;
            &lt;i class=&quot;fas fa-building fa-3x&quot;&gt;&lt;/i&gt;
            &lt;h3&gt;Sample&lt;/h3&gt;
            &lt;p class=&quot;m-0&quot;&gt;Lorem ipsum, dolor sit amet consectetur adipisicing elit. Enim adipisci quisquam voluptatum voluptatibus quas officiis.&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;col-md-4&quot;&gt;
          &lt;div class=&quot;card bg-dark p-4 my-4&quot;&gt;
            &lt;i class=&quot;fas fa-bullhorn fa-3x&quot;&gt;&lt;/i&gt;
            &lt;h3&gt;Sample&lt;/h3&gt;
            &lt;p class=&quot;m-0&quot;&gt;Lorem ipsum, dolor sit amet consectetur adipisicing elit. Enim adipisci quisquam voluptatum voluptatibus quas officiis.&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;col-md-4&quot;&gt;
          &lt;div class=&quot;card bg-danger p-4 my-4&quot;&gt;
            &lt;i class=&quot;fas fa-comments fa-3x&quot;&gt;&lt;/i&gt;
            &lt;h3&gt;Sample&lt;/h3&gt;
            &lt;p class=&quot;m-0&quot;&gt;Lorem ipsum, dolor sit amet consectetur adipisicing elit. Enim adipisci quisquam voluptatum voluptatibus quas officiis.&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;row&quot;&gt;
        &lt;div class=&quot;col-md-4&quot;&gt;
          &lt;div class=&quot;card bg-dark p-4 my-4&quot;&gt;
            &lt;i class=&quot;fas fa-box fa-3x&quot;&gt;&lt;/i&gt;
            &lt;h3&gt;Sample&lt;/h3&gt;
            &lt;p class=&quot;m-0&quot;&gt;Lorem ipsum, dolor sit amet consectetur adipisicing elit. Enim adipisci quisquam voluptatum voluptatibus quas officiis.&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;col-md-4&quot;&gt;
          &lt;div class=&quot;card bg-danger p-4 my-4&quot;&gt;
            &lt;i class=&quot;fas fa-credit-card fa-3x&quot;&gt;&lt;/i&gt;
            &lt;h3&gt;Sample&lt;/h3&gt;
            &lt;p class=&quot;m-0&quot;&gt;Lorem ipsum, dolor sit amet consectetur adipisicing elit. Enim adipisci quisquam voluptatum voluptatibus quas officiis.&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class=&quot;col-md-4&quot;&gt;
          &lt;div class=&quot;card bg-dark p-4 my-4&quot;&gt;
            &lt;i class=&quot;fas fa-coffee fa-3x&quot;&gt;&lt;/i&gt;
            &lt;h3&gt;Sample&lt;/h3&gt;
            &lt;p class=&quot;m-0&quot;&gt;Lorem ipsum, dolor sit amet consectetur adipisicing elit. Enim adipisci quisquam voluptatum voluptatibus quas officiis.&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;hr&gt;
  
  
   &lt;!--Post wapper--&gt;
    &lt;div class=&quot;post-wapper&quot;&gt;
       &lt;!--content--&gt;
       &lt;div class=&quot;content clearfix&quot;&gt;
  
        &lt;!--Main content--&gt;   
            &lt;div class=&quot;main-content&quot;&gt;
                &lt;h1 class=&quot;post-title&quot;&gt;So'nggi postlar&lt;/h1&gt;
    
                &lt;div class=&quot;post clearfix&quot;&gt;
                    &lt;img src=&quot;{% static &quot;assets/IMG_20181206_161518_451.jpg&quot; %}&quot; alt=&quot;&quot; class=&quot;post-image&quot;&gt;
                    &lt;div class=&quot;post-preview&quot;&gt;
                        &lt;h2&gt;&lt;a href=&quot;{% url 'blog:index' %}&quot;&gt;Lorem ipsum dolor sit amet consectetur adipisicing.&lt;/a&gt;&lt;/h2&gt;
                        &lt;i class=&quot;far fa-user&quot;&gt;Ramazon Kahharoff&lt;/i&gt;
                        &amp;nbsp;
                        &lt;i class=&quot;far calendar&quot;&gt; Aug 19, 2020&lt;/i&gt;
                        &lt;p class=&quot;preview-text&quot;&gt;Lorem ipsum dolor, sit amet consectetur adipisicing elit. 
                            Quisquam doloremque officiis, blanditiis maxime cupiditate beatae!
                        &lt;/p&gt;
                        &lt;a href=&quot;{% url 'blog:index' %}&quot;class=&quot;btn read-more&quot;&gt;Ko'proq&lt;/a&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class=&quot;post clearfix&quot;&gt;
                    &lt;img src=&quot;{% static &quot;assets/IMG_20181206_161518_451.jpg&quot; %}&quot; alt=&quot;&quot; class=&quot;post-image&quot;&gt;
                    &lt;div class=&quot;post-preview&quot;&gt;
                        &lt;h2&gt;&lt;a href=&quot;{% url 'blog:index' %}&quot;&gt;Lorem ipsum dolor sit amet consectetur adipisicing.&lt;/a&gt;&lt;/h2&gt;
                        &lt;i class=&quot;far fa-user&quot;&gt;Ramazon Kahharoff&lt;/i&gt;
                        &amp;nbsp;
                        &lt;i class=&quot;far calendar&quot;&gt; Aug 19, 2020&lt;/i&gt;
                        &lt;p class=&quot;preview-text&quot;&gt;Lorem ipsum dolor, sit amet consectetur adipisicing elit. 
                            Quisquam doloremque officiis, blanditiis maxime cupiditate beatae!
                        &lt;/p&gt;
                        &lt;a href=&quot;{% url 'blog:index' %}&quot;class=&quot;btn read-more&quot;&gt;Ko'proq&lt;/a&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class=&quot;post clearfix&quot;&gt;
                    &lt;img src=&quot;{% static &quot;assets/IMG_20181206_161518_451.jpg&quot; %}&quot; alt=&quot;&quot; class=&quot;post-image&quot;&gt;
                    &lt;div class=&quot;post-preview&quot;&gt;
                        &lt;h2&gt;&lt;a href=&quot;{% url 'blog:index' %}&quot;&gt;Lorem ipsum dolor sit amet consectetur adipisicing.&lt;/a&gt;&lt;/h2&gt;
                        &lt;i class=&quot;far fa-user&quot;&gt;Ramazon Kahharoff&lt;/i&gt;
                        &amp;nbsp;
                        &lt;i class=&quot;far calendar&quot;&gt; Aug 19, 2020&lt;/i&gt;
                        &lt;p class=&quot;preview-text&quot;&gt;Lorem ipsum dolor, sit amet consectetur adipisicing elit. 
                            Quisquam doloremque officiis, blanditiis maxime cupiditate beatae!
                        &lt;/p&gt;
                        &lt;a href=&quot;{% url 'blog:index' %}&quot;class=&quot;btn read-more&quot;&gt;Ko'proq&lt;/a&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class=&quot;post clearfix&quot;&gt;
                    &lt;img src=&quot;{% static &quot;assets/IMG_20181206_161518_451.jpg&quot; %}&quot; alt=&quot;&quot; class=&quot;post-image&quot;&gt;
                    &lt;div class=&quot;post-preview&quot;&gt;
                        &lt;h2&gt;&lt;a href=&quot;{% url 'blog:index' %}&quot;&gt;Lorem ipsum dolor sit amet consectetur adipisicing.&lt;/a&gt;&lt;/h2&gt;
                        &lt;i class=&quot;far fa-user&quot;&gt;Ramazon Kahharoff&lt;/i&gt;
                        &amp;nbsp;
                        &lt;i class=&quot;far calendar&quot;&gt; Aug 19, 2020&lt;/i&gt;
                        &lt;p class=&quot;preview-text&quot;&gt;Lorem ipsum dolor, sit amet consectetur adipisicing elit. 
                            Quisquam doloremque officiis, blanditiis maxime cupiditate beatae!
                        &lt;/p&gt;
                        &lt;a href=&quot;{% url 'blog:index' %}&quot;class=&quot;btn read-more&quot;&gt;Ko'proq&lt;/a&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                &lt;div class=&quot;post clearfix&quot;&gt;
                    &lt;img src=&quot;{% static &quot;assets/IMG_20181206_161518_451.jpg&quot; %}&quot; alt=&quot;&quot; class=&quot;post-image&quot;&gt;
                    &lt;div class=&quot;post-preview&quot;&gt;
                        &lt;h2&gt;&lt;a href=&quot;{% url 'blog:index' %}&quot;&gt;Lorem ipsum dolor sit amet consectetur adipisicing.&lt;/a&gt;&lt;/h2&gt;
                        &lt;i class=&quot;far fa-user&quot;&gt;Ramazon Kahharoff&lt;/i&gt;
                        &amp;nbsp;
                        &lt;i class=&quot;far calendar&quot;&gt; Aug 19, 2020&lt;/i&gt;
                        &lt;p class=&quot;preview-text&quot;&gt;Lorem ipsum dolor, sit amet consectetur adipisicing elit. 
                            Quisquam doloremque officiis, blanditiis maxime cupiditate beatae!
                        &lt;/p&gt;
                        &lt;a href=&quot;{% url 'blog:index' %}&quot;class=&quot;btn read-more&quot;&gt;Ko'proq&lt;/a&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;!--Main content--&gt;
    
          &lt;/div&gt;
        
        &lt;!--Content--&gt;
    &lt;/div&gt;
  
  
   &lt;!--Post wapper--&gt;
  
  &lt;!--FAQ--&gt;
  
   &lt;div id=&quot;faq&quot; class=&quot; d-flex align-items-center justify-ontent-center my-5 mb-5&quot; &gt;
    &lt;div class=&quot;container &quot;&gt;
        &lt;h2 class=&quot;text-center&quot;&gt;Ko'p so'raladigan savollar&lt;/h2&gt;
        &lt;div class=&quot;accordion py-5&quot;&gt;
            &lt;div class=&quot;accordion-item&quot; id=&quot;question1&quot;&gt;
                &lt;a class=&quot;accordion-link&quot; href=&quot;#question1&quot;&gt;
                    Bu yerda qanaqadir ko'p so'raladigan savol?
                    &lt;ion-icon name=&quot;add-outline&quot; class=&quot;plus&quot;&gt;&lt;/ion-icon&gt;
                    &lt;ion-icon name=&quot;remove-outline&quot;  class=&quot;minus&quot;&gt;&lt;/ion-icon&gt;
                &lt;/a&gt;
                &lt;div class=&quot;answer&quot;&gt;
                    &lt;p&gt;
                        Lorem ipsum dolor sit amet consectetur adipisicing elit. Similique, repellat. 
                    Labore recusandae nisi eius quod.
                     Aspernatur sint reprehenderit sapiente ex optio maiores delectus quam? Velit.
                    &lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
  
            &lt;div class=&quot;accordion-item&quot; id=&quot;question2&quot;&gt;
                &lt;a class=&quot;accordion-link&quot; href=&quot;#question2&quot;&gt;
                    Bu yerda qanaqadir ko'p so'raladigan savol?
                    &lt;ion-icon name=&quot;add-outline&quot; class=&quot;plus&quot;&gt;&lt;/ion-icon&gt;
                    &lt;ion-icon name=&quot;remove-outline&quot;class=&quot;minus&quot;&gt;&lt;/ion-icon&gt;
                &lt;/a&gt;
                &lt;div class=&quot;answer&quot;&gt;
                    &lt;p&gt;
                        Lorem ipsum dolor sit amet consectetur adipisicing elit. Similique, repellat. 
                    Labore recusandae nisi eius quod.
                     Aspernatur sint reprehenderit sapiente ex optio maiores delectus quam? Velit.
                    &lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
  
            &lt;div class=&quot;accordion-item&quot; id=&quot;question3&quot;&gt;
                &lt;a class=&quot;accordion-link&quot; href=&quot;#question3&quot;&gt;
                    Bu yerda qanaqadir ko'p so'raladigan savol?
                    &lt;ion-icon name=&quot;add-outline&quot; class=&quot;plus&quot; &gt;&lt;/ion-icon&gt;
                    &lt;ion-icon name=&quot;remove-outline&quot; class=&quot;minus&quot;&gt;&lt;/ion-icon&gt;
                &lt;/a&gt;
                &lt;div class=&quot;answer&quot;&gt;
                    &lt;p&gt;
                        Lorem ipsum dolor sit amet consectetur adipisicing elit. Similique, repellat. 
                    Labore recusandae nisi eius quod.
                     Aspernatur sint reprehenderit sapiente ex optio maiores delectus quam? Velit.
                    &lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
  
            &lt;div class=&quot;accordion-item&quot; id=&quot;question4&quot;&gt;
                &lt;a class=&quot;accordion-link&quot; href=&quot;#question4&quot;&gt;
                    Bu yerda qanaqadir ko'p so'raladigan savol?
                    &lt;ion-icon name=&quot;add-outline&quot; class=&quot;plus&quot;&gt;&lt;/ion-icon&gt;
                    &lt;ion-icon name=&quot;remove-outline&quot; class=&quot;minus&quot;&gt;&lt;/ion-icon&gt;
                &lt;/a&gt;
                &lt;div class=&quot;answer&quot;&gt;
                    &lt;p&gt;
                        Lorem ipsum dolor sit amet consectetur adipisicing elit. Similique, repellat. 
                    Labore recusandae nisi eius quod.
                     Aspernatur sint reprehenderit sapiente ex optio maiores delectus quam? Velit.
                    &lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    
  &lt;/div&gt;
  
  &lt;!--FAQ--&gt;
  
  
  
  
   &lt;!--Conact--&gt;
  
   
  
   &lt;div id=&quot;contact&quot; class=&quot;mt-5&quot;&gt;
     &lt;div class=&quot;container&quot;&gt;
      &lt;div class=&quot;heading&quot;&gt;
        &lt;h1&gt;Savolingizni yo'llang&lt;/h1&gt;
      &lt;/div&gt; 
       &lt;div class=&quot;row&quot;&gt;
         &lt;div class=&quot;col-md-6&quot;&gt;
           &lt;form class=&quot;contact-form&quot;&gt;
             &lt;div class=&quot;for-group&quot;&gt;
               &lt;input type=&quot;text&quot; class=&quot;form-control mt-2&quot; placeholder=&quot;Ismingiz&quot;&gt;
             &lt;/div&gt;
             &lt;div class=&quot;for-group&quot;&gt;
              &lt;input type=&quot;number&quot; class=&quot;form-control mt-2&quot; placeholder=&quot;Telefon raqamingiz&quot;&gt;
            &lt;/div&gt;
            &lt;div class=&quot;for-group&quot;&gt;
              &lt;input type=&quot;email&quot; class=&quot;form-control mt-2&quot; placeholder=&quot;elektron pochtangiz&quot;&gt;
            &lt;/div&gt;
            &lt;div class=&quot;for-group&quot;&gt;
              &lt;textarea type=&quot;text&quot; class=&quot;form-control mt-2&quot; rows=&quot;4&quot; placeholder=&quot;Savollingizni yo'llang&quot;&gt;&lt;/textarea&gt;
            &lt;/div&gt;
            &lt;button type=&quot;submit&quot; class=&quot;btn btn-primary mt-2&quot;&gt;Xabarni jo'natish&lt;/button&gt;
           &lt;/form&gt;
         &lt;/div&gt;
         &lt;div class=&quot;col-md-6 contact-info&quot;&gt;
          &lt;div class=&quot;follow&quot;&gt;&lt;b&gt;Manzil:&lt;/b&gt; &lt;i class=&quot;fas fa-map-marker-alt&quot;&gt;&lt;/i&gt;Mustaqillik ko'chasi, Toshket shahri, Uz &lt;/div&gt;  
          &lt;div class=&quot;follow&quot;&gt;&lt;b&gt;Telefon raqam:&lt;/b&gt;&lt;i class=&quot;fas fa-phone&quot;&gt;&lt;/i&gt;+998912345678&lt;/div&gt;
          &lt;div class=&quot;follow&quot;&gt;&lt;b&gt;Pochta manzil:&lt;/b&gt;&lt;i class=&quot;far fa-envelope&quot;&gt;&lt;/i&gt; Zip code&lt;/div&gt;
          &lt;div class=&quot;follow&quot;&gt;&lt;b&gt;Web-sahifa:&lt;/b&gt;&lt;i class=&quot;fab fa-internet-explorer&quot;&gt;&lt;/i&gt; online_yuridik_xizmat.uz&lt;/div&gt;
          &lt;div class=&quot;follow&quot;&gt;&lt;label&gt;&lt;b&gt;Ijtimoiy tarmoqdagi sahifalarimiz:&lt;/b&gt;&lt;/label&gt;
            &lt;a href=&quot;#&quot;&gt; &lt;i class=&quot;fab fa-facebook-f&quot;&gt;&lt;/i&gt;&lt;/a&gt;
            &lt;a href=&quot;#&quot;&gt; &lt;i class=&quot;fab fa-youtube&quot;&gt;&lt;/i&gt;&lt;/a&gt;
            &lt;a href=&quot;#&quot;&gt; &lt;i class=&quot;fab fa-instagram&quot;&gt;&lt;/i&gt;&lt;/a&gt;
            &lt;a href=&quot;#&quot;&gt; &lt;i class=&quot;fab fa-telegram-plane&quot;&gt;&lt;/i&gt;&lt;/a&gt;
           &lt;/div&gt;
        &lt;/div&gt;
       &lt;/div&gt;
     &lt;/div&gt;
   &lt;/div&gt;
  
  
  
    &lt;!-- FOOTER --&gt;
    &lt;footer id=&quot;main-footer&quot; class=&quot;text-center p-4 bg-dark text-white&quot;&gt;
      &lt;div class=&quot;container&quot;&gt;
        &lt;div class=&quot;row&quot;&gt;
          &lt;div class=&quot;col&quot;&gt;
            &lt;p&gt;Copyright &amp;copy;
              &lt;span id=&quot;year&quot;&gt;&lt;/span&gt; Kahharoff&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/footer&gt;
  
  
  
  
    &lt;script src=&quot;{% static &quot;jquery.js&quot; %}&quot;&gt;&lt;/script&gt;
    &lt;script src=&quot;{% static &quot;popper.js&quot; %}&quot;&gt;&lt;/script&gt;
    &lt;script src=&quot;{% static &quot;bootstrap.js&quot; %}&gt;&lt;/script&gt;
  
    &lt;script&gt;
      // Get the current year for the copyright
      $('#year').text(new Date().getFullYear());
  
      // Configure Slider
      $('.carousel').carousel({
        interval: 6000,
        pause: 'hover'
      });
  
    &lt;/script&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  <p>I am getting an error:</p>
  <pre><code> noreversematch 
  raise NoReverseMatch(msg)
  django.urls.exceptions.NoReverseMatch: Reverse for 'home' not found. 'home' is not a valid view function or pattern name. 
  </code></pre>
  <p>I could not find my mistake. How can I fix this?</p>