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 %}
.
- [Answer]-Django custom form validation error
- [Answer]-NoReverseMatch when rendering HTML
- [Answer]-Django 1.6: Button clicked in template not recognised in views
- [Answer]-Why do methods in Django's built-in ModelBackend return an empty set when an obj is passed in?
Source:stackexchange.com