Hi,
I am using the YouTube API to fetch video data and display it on a web page. As part of the html template I have an anchor tag with an href directing to my Django 1.5 app. as follows:
<a href="{% url 'find_music:watch' video_id=video.video_id %}">
The url definition in urls.py is as follows:
url(r'^(?P<video_id>\w+)$', 'find_music.views.watch', name='watch'),
When I load the page, I get a NoReverseMatch exception as follows:
Reverse for 'watch' with arguments '()' and keyword arguments '{u'video_id': 'D-dNA0NwLSw'}' not found.
What could I be missing?
Thanks.
--
Regards,
Sithu Lloyd Dube