On Thu, Oct 30, 2008 at 11:50 AM, <[EMAIL PROTECTED]> wrote:

> But, when I initialling go to '/resultsdb/search_form/' and the request is
> not a get but I a WSGIRequest how to test the content? Because in my view
> the only redirect after a request.GET occurs during an if conditional of
> when a certain button is pressed
>

I can't parse your question in the first sentence.  Code snippets might
help.  There is no content if you are getting a 302, it is a redirect and
the only thing you can then examine would be the redirect Location.  Somehow
the path your code is taking in response to a get on
'/resultsdb/search_form/' is getting to a point where it returns a redirect,
not a response.

You've also got another thread that I hadn't seen when I first responded on
this one, where someone responded pointing out the likely line in your view
you are hitting.  I gather from your last sentence you don't believe you can
be hitting that line, but apparently you are. I couldn't get that far in
reading the view code because it gets badly mangled in an email interface;
dpaste.com would be a better place for putting code.

Karen

--~--~---------~--~----~------------~-------~--~----~
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