Re: Generic views and url issues

2013-01-24 Thread amy . cerrito
Updating my template code to use namespace:url_name did it! list url: List of all ad calls detail url: Thanks again for everyone's feedback! On Thursday, January 24, 2013 10:07:14 AM UTC-5, Tom Christie wrote: > > Hi Amy, > > I'd suggest you check the following... > > * Your > ROOT_URLCO

Re: Generic views and url issues

2013-01-24 Thread Tom Christie
Hi Amy, I'd suggest you check the following... * Your ROOT_URLCONFsetting is correct. * If the `urls.py` module you're referring to here is a project URL conf and not the root URL conf, make sure that it is being included by the

Re: Generic views and url issues

2013-01-24 Thread Bill Freeman
Have you tried it without the quotes around 'detail' in the url template tag invocation? If I'm remembering correctly, the need for the quotes depends on django version and options. Bill On Thu, Jan 24, 2013 at 9:01 AM, Amy Cerrito wrote: > Thanks for your response! > > Unfortunately, your sug

Re: Generic views and url issues

2013-01-24 Thread Amy Cerrito
Thanks for your response! Unfortunately, your suggestion did not eliminate the NoReverseMatch error. NoReverseMatch at /testadcall/ Reverse for 'detail' with arguments '()' and keyword arguments '{'object_id': 1}' not found. I have another example where I request the list view, which does not

Re: Generic views and url issues

2013-01-23 Thread mgc_django-users
On 24/01/2013 10:39 AM, amy.cerr...@cbsinteractive.com wrote: I've been trying to understand how to use generic views. I've followed some tutorials, and read through Django docs, but I can't get the url function to work in my templates. I get the error NoReverseMatch at /testadcall/ Reverse f

Re: Generic views and url issues

2013-01-23 Thread Sanjay Bhangar
(reply inline) On Thu, Jan 24, 2013 at 5:09 AM, wrote: > I've been trying to understand how to use generic views. I've followed some > tutorials, and read through Django docs, but I can't get the url function to > work in my templates. > > I get the error > NoReverseMatch at /testadcall/ > > Re

Re: Generic views and url issues

2013-01-23 Thread Sergiy Khohlov
try to check testaddcall/1/ please Many thanks, Serge +380 636150445 skype: skhohlov 2013/1/24 : > I've been trying to understand how to use generic views. I've followed some > tutorials, and read through Django docs, but I can't get the url function to > work in my templates. > > I get the

Generic views and url issues

2013-01-23 Thread amy . cerrito
I've been trying to understand how to use generic views. I've followed some tutorials, and read through Django docs, but I can't get the url function to work in my templates. I get the error NoReverseMatch at /testadcall/ Reverse for 'detail' with arguments '(1,)' and keyword arguments '{}' n