Zdobądź Absolute URL Django
from django.urls import reverse
def get_absolute_url(self):
return reverse("show_article", kwargs={"slug": self.slug})
Condemned Chamois