There is[1] special parameter named `data` that represents GET query
as dictionary. Or you can pass QUERY_STRING parameter with raw GET
string

[1] http://www.djangoproject.com/documentation/testing/#making-requests

On Jul 3, 9:42 am, Thomas <[EMAIL PROTECTED]> wrote:
> Weird problem,
>
> I am doing just fine when accessing /bug2/title/1.html?a=r through the
> browser.
>
> I fail with HTTP 404 when doing the same through the test client - it
> seems to chock on the ?a=r bit, the  /bug2/title/1.html works just
> fine ...
>
> Relevant url pattern: (r'^([0-9a-z-_]+)/([0-9a-z-_]+)/([0-9]+).html$',
> 'bbs.views.post'),
>
> I can make test client work by removing EOL $ in the pattern but test
> client behaviour contradicts documentation:
>
>
>
> >The URLconf searches against the requested URL, as a normal Python string.
> > This does not include GET or POST parameters, or the domain name.
>
> Any clues?
>
> Thomas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to