Re: urlpattern help

2005-11-19 Thread Bryan Murdock
On 11/19/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 11/19/05, Bryan Murdock <[EMAIL PROTECTED]> wrote: > > And so it becomes very obvious that I'm new to this whole web > > programming thing. Thank you for your patient explanations! > > Hey Bryan, > > Thank *you* for asking the questio

Re: urlpattern help

2005-11-19 Thread Adrian Holovaty
On 11/19/05, Bryan Murdock <[EMAIL PROTECTED]> wrote: > And so it becomes very obvious that I'm new to this whole web > programming thing. Thank you for your patient explanations! Hey Bryan, Thank *you* for asking the question! I've updated the tutorial and URLconf documents so that they mentio

Re: urlpattern help

2005-11-19 Thread Jeffrey E. Forcier
On Nov 19, 2005, at 10:21 AM, Bryan Murdock wrote: And so it becomes very obvious that I'm new to this whole web programming thing. Thank you for your patient explanations! No problem =) I just hope I didn't come across as condescending. What am I doing? I'm just trying to make use of the

Re: urlpattern help

2005-11-19 Thread Bryan Murdock
On 11/19/05, Jeffrey E. Forcier <[EMAIL PROTECTED]> wrote: > > Sune is correct--your problem stems from a misunderstanding of what a > URL really is :) Anything after a '?' character is not truly part of > the URL, but instead defines GET parameters which are sent to the > resulting view. > > In o

Re: urlpattern help

2005-11-19 Thread Jeffrey E. Forcier
Sune is correct--your problem stems from a misunderstanding of what a URL really is :) Anything after a '?' character is not truly part of the URL, but instead defines GET parameters which are sent to the resulting view. In other words, a URL (Universal Resource Locator) defines the loc

Re: urlpattern help

2005-11-19 Thread Sune Kirkeby
On 11/19/05, Bryan Murdock <[EMAIL PROTECTED]> wrote: > How do you write a urlpattern to match something like this: > > /accounts/login/?next=/add_object/ The parameters are not matched against the url patterns, in your view-func you can get it as request.GET['next']. /s

urlpattern help

2005-11-18 Thread Bryan Murdock
How do you write a urlpattern to match something like this: /accounts/login/?next=/add_object/ ? I have this: r'^accounts/login/\?next=(?P.*)$' and it seems to match because my view function is called, but no next parameter is passed in. Oh wait, it's actually matching the previous urlpatter