That never occurred to me.
Isn’t {% url ‘item:detail’ %} doing the same reverse() lookup like you could define in get_absolute_url()? Obviousy if you would hardcode the url in the template that would be the worst option.
That never occurred to me.
Isn’t {% url ‘item:detail’ %} doing the same reverse() lookup like you could define in get_absolute_url()? Obviousy if you would hardcode the url in the template that would be the worst option.