Re: Beginner URL question.

2009-03-23 Thread Bro
I use {% url myproject.core.views.member_create %} But in the production server, it give :( http://www.mysite.fr/var/www/mysite/mysite/user/create/ instead of : http://www.mysite.fr/user/create/ --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: Beginner URL question.

2009-03-23 Thread Bro
Hi, I use the same answer but I have another problem in the production server (in local, it works perfectly) On 23 fév, 23:57, "Joe Goldthwaite" wrote: > >You could try using a tag to explicitly state what the > >base for relative URLs should be. > > Thanks Ned. That sounds like it will work.

RE: Beginner URL question.

2009-02-23 Thread Joe Goldthwaite
>You could try using a tag to explicitly state what the >base for relative URLs should be. Thanks Ned. That sounds like it will work. I'll try it. >I would sugest that you look at named urls and the {% url %} template >tag. That way you can generate urls with the use of args for year, >month

Re: Beginner URL question.

2009-02-20 Thread Briel
I would sugest that you look at named urls and the {% url %} template tag. That way you can generate urls with the use of args for year, month, date. On 20 Feb., 21:30, JoeG wrote: > I've tried to find this on Google but I don't know the terminology so > I don't know what to search for.  It's mo

Re: Beginner URL question.

2009-02-20 Thread Ned Batchelder
You could try using a tag to explicitly state what the base for relative URLs should be. --Ned. http://nedbatchelder.com JoeG wrote: > I've tried to find this on Google but I don't know the terminology so > I don't know what to search for. It's more of an html question than a > Django one but