Re: [old question]NoReverseMatch.. I am sorry.

2012-08-18 Thread bruce
Thanks!! It is very helpful!! Have a great weekend! On Friday, August 17, 2012 6:29:06 PM UTC-4, Kurtis wrote: > > In this case, you are using a 'named URL' in the Admin namespace. Here's > two links that may help you learn a bit more about this topic. > > https://docs.djangoproject.com/en/dev/

Re: [old question]NoReverseMatch.. I am sorry.

2012-08-17 Thread bruce
Thanks. I am going to read it. Have a great weekend! On Friday, August 17, 2012 6:30:26 PM UTC-4, Tomas Neme wrote: > > > But I am confused. > > For example, > > the following code needs to add single quote. > > > > {% block content %} > > Add Todo items > > https://docs.djangoproject.com

Re: [old question]NoReverseMatch.. I am sorry.

2012-08-17 Thread Tomas Neme
> But I am confused. > For example, > the following code needs to add single quote. > > {% block content %} > Add Todo items https://docs.djangoproject.com/en/dev/releases/1.3/#changes-to-url-and-ssi also, that won't work with double quotes either, unless you import future, and a bunch of other t

Re: [old question]NoReverseMatch.. I am sorry.

2012-08-17 Thread Kurtis Mullins
In this case, you are using a 'named URL' in the Admin namespace. Here's two links that may help you learn a bit more about this topic. https://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns https://docs.djangoproject.com/en/dev/topics/http/urls/#defining-url-namespaces https:

Re: [old question]NoReverseMatch.. I am sorry.

2012-08-17 Thread bruce
Tears thanks! But I am confused. For example, the following code needs to add single quote. {% block content %} Add Todo items Is there a link to give me detailed description? I want to learn it and never get stuck again. Thanks!! On Friday, August 17, 2012 5:3

Re: [old question]NoReverseMatch.. I am sorry.

2012-08-17 Thread Tomas Neme
either remove the quotes from {% url 'blog.views.add_comment' %} (so it's {% url blog.views.add_comment %}) or {% load url from future %} Loading from future is the better option, I think. and for future reference: Reverse for ''blog.views.add_comment'' with arguments '(1L,)' and keyword argume