I’m on Chapter 8 of the website’s tutorial pages at the end of the “Setting up the template” section. I have added all the code including the slug and when I run my server the same error occurs:
Reverse for ‘dream_detail’ with arguments ‘()’ and keyword arguments ‘{u’slug’: u’get-rich’}’ not found. 1 pattern(s) tried: [‘dreams/(/P[-\w]+)/$’]
I have absolutely no idea what this means.
Another thing that I do not understand is this:
When you have “slug” in your code, specifically “slug=thing.slug”, do I substitute the slug of my thing where you say slug? Or is this code word for word? There is another instance within the views.py file where you have “slug=slug”. Again, is this word for word, or do I substitute the slug of the page I am making?
Thanks for the help,
Joshua