Re: Tango with Django chapter 7 Exercises

2014-07-08 Thread zuchie
try in step 2: action = "" leave it blank, the form will be posted in the same view. and in step 4: Add Page of course you have to insert url into the context dic this way in views/category(): category.url = category_name_url. I think your way the url will be processed as category//add_page/

Re: Tango with Django chapter 7 Exercises

2014-07-06 Thread Dean
When changing the model, it can help to drop the relevant tables in the db and sync. It kinda flushes things out. That's what I'm finding anyway :-/ I'm only a chapter 5 guru atm, so apologies for my probably unhelpful comments. Maybe you need to restart your server too - have you tried turning

Tango with Django chapter 7 Exercises

2014-07-06 Thread Martin Spasov
I am doing the exercises in chapter 7 and I have to create an add page link on every category page that would take the users to a new page on which they can enter name and url to add to certain category if the category in que