try to change
<a href="/rango/category/{{ category_name_url }}/add_page/">Add a Page</a>
to
<a href="url {% 'views:category_name_url' %}/add_page/">Add a Page</a>
Many thanks,
Serge
+380 636150445
skype: skhohlov
On Wed, Nov 13, 2013 at 2:14 PM, Amimo Benja <[email protected]> wrote:
> Hey all,
>
> Am currently practicing using this tutorial
> http://www.tangowithdjango.com/book/chapters/forms.html, but I'm constantly
> getting this error "The current URL, rango/category//add_page/, didn't match
> any of these." every time I click on the Add a Page link in the
> Category.html. I don't know how to solve it. Any help? Thanks.
>
> Here are my
> 1. Views.py http://pastebin.mozilla.org/3595121
> 2. rango/urls.py http://pastebin.mozilla.org/3595145
> 3. add_page.html http://pastebin.mozilla.org/3595156
> 4. category.html http://pastebin.mozilla.org/3595158
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4731ffd8-f500-40a2-af7b-9587195bc092%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CADTRxJP5TBZB3GzaBxh2rr3w36p35GGMu4eXAk5LB4RwJPkchQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.