On 7/18/07, Greg <[EMAIL PROTECTED]> wrote:
> Do I have to return a HttpResponse?

Yes.  It is an error for an HTTP Request not to be given a HTTP
response in return.

In the 'if "favorite_color"' branch of your example view, simple
"return response" just before the else: clause.

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