#9081: [patch] More flexible render_to_response()
---------------------------------------------+------------------------------
          Reporter:  bhagany                 |         Owner:  ccahoon
            Status:  new                     |     Milestone:         
         Component:  HTTP handling           |       Version:  1.0    
        Resolution:                          |      Keywords:         
             Stage:  Design decision needed  |     Has_patch:  1      
        Needs_docs:  0                       |   Needs_tests:  0      
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Changes (by ccahoon):

  * stage:  Accepted => Design decision needed

Comment:

 This same thing can be done by: HttpResponse(render_to_string(...), ...),
 with whatever response class other than HttpResponse. Another solution, if
 we like the render_to_response shortcut, might be allowing the
 HttpResponse object itself to be passed into the shortcut. I think,
 though, that it isn't necessary.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9081#comment:7>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to