Re: Tango with Django Chapter 7 (Add_page)

2013-11-20 Thread Amimo Benja
Hi Lee, I have been continuing with the django tutorials and at the moment I am on chapter 10 dealing with cookies. On the exercises when a user logs in and clicks the about page link, mine just shows he visited the site 1 time no matter how many times he clicks on the about page. Is it

Re: Tango with Django Chapter 7 (Add_page)

2013-11-14 Thread Lee
No problem at all, glad it worked out for you :-) Good luck with the rest of the tutorial Cheers On Thursday, 14 November 2013 12:16:06 UTC, Amimo Benja wrote: > > Thanks Lee, it worked. The problem was I had not passed category_name_url > from my view function to the category template. The

Re: Tango with Django Chapter 7 (Add_page)

2013-11-14 Thread Amimo Benja
Thanks Lee, it worked. The problem was I had not passed category_name_url from my view function to the category template. The moment I passed it, it worked without any problem. Thanks a lot Man. At least I can proceed. Phee...w!!! Thanks again. On Thursday, November 14, 2013 3:08:27 PM UTC+3,

Re: Tango with Django Chapter 7 (Add_page)

2013-11-14 Thread Lee
Noob here so I may be way wrong but it looks to me like your problem is probably in link in category page when generating the link to add_page, given the url in the error is missing the category name in the URL. Have you passed category_name_url from your view function to the category

Re: Tango with Django Chapter 7 (Add_page)

2013-11-14 Thread Amimo Benja
It seems not to be working. It raises an error that Invalid block tag: ''views:category_name_url'' On Wednesday, November 13, 2013 3:38:47 PM UTC+3, Sergiy Khohlov wrote: > > try to change > Add a Page > to > Add a Page > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > >

Re: Tango with Django Chapter 7 (Add_page)

2013-11-13 Thread Sergiy Khohlov
try to change Add a Page to Add a Page Many thanks, Serge +380 636150445 skype: skhohlov On Wed, Nov 13, 2013 at 2:14 PM, Amimo Benja wrote: > Hey all, > > Am currently practicing using this tutorial > http://www.tangowithdjango.com/book/chapters/forms.html, but I'm

Tango with Django Chapter 7 (Add_page)

2013-11-13 Thread Amimo Benja
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