[Answer]-NoReverseMatch Exception for links in Django ListView

1👍

✅

You’re passing the actual full URL from scholarship.get_absolute_url to the {% url %} tag. You should use one or the other, not both: either {{ scholarship.get_absolute_url }} or {% url 'single_scholarship' scholarship.slug %}.

0👍

Try using

{{ scholarship.get_absolute_url }}

0👍

You can try

<a href="{{scholarship.get_absolute_url}}">Read more &rarr;</a>

Leave a comment