So i need to set USE_ETAGS=True in settings.py

And then

return response.status_code=204

Hmm..i'll try it tomorrow at work.

On Mar 12, 6:27 pm, "Horst Gutmann" <[EMAIL PROTECTED]> wrote:
> 2007/3/12, shevken <[EMAIL PROTECTED]>:
>
>
>
> > Anyway to return response code 204 from a view?
>
> > So that the request page do not get refreshed.
>
> I guess you could simply create a normal response object and set it's
> status_code attribute to 204 :-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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