RE: how does {% url %} work?

2008-07-11 Thread Emily Rodgers
> That is what I meant when I said ('^clients/$', > include('project_name.app_name.urls')) - I just forgot to > take out the $!! Ir even when I said (r'^coosci/$', include('coosci.webapp.urls')), It is way too early for my little brain! --~--~-~--~~~---~--~~

RE: how does {% url %} work?

2008-07-11 Thread Emily Rodgers
> -Original Message- > From: django-users@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of V > Sent: 11 July 2008 09:31 > To: Django users > Subject: Re: how does {% url %} work? > > > > > but it gives only > > > /projects/join

Re: how does {% url %} work?

2008-07-11 Thread V
> > but it gives only > > /projects/join/6/ > > That's exactly what's expected. Have you ever checked the docs (http://www.djangoproject.com/ documentation/templates/#url)? This /clients/client/123/ is expected! if I do (r'^coosci/$', include('coosci.webapp.urls')), it won't work as $ closes the

Re: how does {% url %} work?

2008-07-10 Thread bruno desthuilliers
On 10 juil, 18:09, "Viktor Nagy" <[EMAIL PROTECTED]> wrote: > Hi 5! > > I have the following files > myproject/urls.py with a line > > (r'^$', include('coosci.webapp.urls')), > > then I have > myproject/coosci/urls.py with a line > (r'^projects/join/(?P\d+)/$', 'join_project'), > > and finally i

Re: how does {% url %} work?

2008-07-10 Thread bruno desthuilliers
On 10 juil, 18:27, "Emily Rodgers" <[EMAIL PROTECTED]> wrote: > I think that you need to do > > (r'^coosci/$', include('coosci.webapp.urls')), > > In your myproject/urls.py file for that to work (but I could be wrong!). You're right. --~--~-~--~~~---~--~~ You rec

RE: how does {% url %} work?

2008-07-10 Thread Emily Rodgers
I think that you need to do (r'^coosci/$', include('coosci.webapp.urls')), In your myproject/urls.py file for that to work (but I could be wrong!). > -Original Message- > From: django-users@googlegroups.com > [mailto:[EMAIL PROTECTED] On Behalf Of Viktor Nagy > Sent: 10 July 2008 17: