[Answer]-Get_absolute_url() using app hook in Django

1👍

I recommend creating a named url in your urls.py, and then reversing the url in your get_absolute_url function. See the Django docs for reverse().

👤droxey

Leave a comment