Re: matching a name in url

2012-09-02 Thread Mando
Yup :) I guess I just needed to take a break for a few because after I came back i noticed it and couldn't find my post to reply. Thanks for the reply though. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web

Re: matching a name in url

2012-09-01 Thread Melvyn Sopacua
On 2-9-2012 0:48, Mando wrote: > here is my line of code > url(r'^comment/allcomments/(?P[-\w]+)/all/$', ^^^ > The current URL, comment/mando/all/, didn't match any of these. See it now? -- Melvyn Sopacua -- You received this message because you are subscribed

matching a name in url

2012-09-01 Thread Mando
Hello all, I'm still new to django and I'm having a little problem with the url matching. here is my line of code url(r'^comment/allcomments/(?P[-\w]+)/all/$', 'comment.views.allUserComments'), def allUserComments(request, commentName): userComments = Post.objects.get(name=commentName)