Note - I know that I am not using a parameter and it's much easier to do that (I was searching without having created the form yet so this slipped my mind). But how would you capture something like "red fox" in a URLconf pattern?
On Jun 28, 2:46 pm, Ryan K <[EMAIL PROTECTED]> wrote: > Hi. I'm trying to setup an re pattern for /search in my URL conf. How > can I match an entire string like "red fox" > e.g.http://example.com/django/search/red%20fox? > I noticed that Google replaces their query parameter q's spaces with > '+'s using Javascript. Is that a better way to go? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---