I need help on this i have no clue why isnt working. I tried different way and still there is more option left that im aware of -----Here is my HTML code:

{% for lajme in lajmet %}

        <article class="media content-section">
          <div class="container">
            <div class="container">
            <img src="media/{{lajme.fotografit}}">
            <h4 style="text-align: center; font-family: Comic Sans; font-weight: 700;"><a class="article-title simson" href="{% url 'lajme-detail' lajme.slug %}">{{ lajme.titulli }}</a></h4>
            <!--<p class="article-content">{{ lajme.detajet|safe|truncatewords:"700"|linebreaks }}</p>-->

          </div>
          </div>
        </article>
    {% endfor %}

--- Here is my model:

class Lajmet(models.Model):
    kategorit = models.ForeignKey(Kategori, on_delete=models.CASCADE)
    titulli = models.CharField(default='', max_length=350)
    fotografit = models.ImageField(upload_to='imgs/')
    detajet = RichTextUploadingField()
    data_e_postimit = models.DateTimeField(default=timezone.now)
    author = models.ForeignKey(User, on_delete=models.CASCADE)

    def __str__(self):
        return self.titulli

    def get_absolute_url(self):
        kwargs = {'slug': self.slug}
        return reverse('lajme-detail', kwargs=kwargs)

    def save(self, *args, **kwargs):
        value = self.titulli
        self.slug = slugify(value, allow_unicode=True)
        super().save(*args, **kwargs)

----Here is my View:

class LajmetListView(ListView):
    model = Lajmet
    template_name = 'main/lajme-home.html' # <app>/<model>_<viewtype>.html
    context_object_name = 'lajmet'
    ordering = ['-data_e_postimit']
    paginate_by = 4

# ----------------------------------------------------

class LajmetDetailView(DetailView):
    model = Lajmet
    query_pk_and_slug = True

-- Here is my path url:

path('', LajmetListView.as_view(), name='lajme-home'),
path('lajme/<str:slug>/', LajmetDetailView.as_view(), name='lajme-detail'),