Re: Generic views and url issues

2013-01-24 Thread amy . cerrito
the > application. > > Cheers, > > Tom > > On Thursday, 24 January 2013 14:01:30 UTC, Amy Cerrito wrote: >> >> Thanks for your response! >> >> Unfortunately, your suggestion did not eliminate the NoReverseMatch error. >> >> NoReverseMatch at

Re: Generic views and url issues

2013-01-24 Thread Amy Cerrito
ag - note in the error message that it > mentions both arguments and keyword arguments (with your example having a > single non-keyword argument). However, in your url pattern for the "detail" > url, you use a named capture (object_id). In this case, you must use a > keywo

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 '{}'