On Oct 17, 11:58 am, Russell Keith-Magee <russ...@keith-magee.com>
wrote:
> On Sat, Oct 16, 2010 at 12:45 AM, Russell Keith-Magee
>
> I should also be able to port the tutorial before I commit -- which,
> barring objection, I will do tomorrow night my time (about 24 hours
> from now). Speak now, etc etc.
>
> Yours,
> Russ Magee %-)

If it is too late for this, then just disregard, but I do have one
slight observation about the TemplateMixin.  Might it be a good idea
to encourage alternate response mixins (JSONResponseMixin, etc.)
implemented by the community to implement and use get_response() and
get_context_instance() methods?  If so, would it be a good idea to
implement a BaseResponseMixin that implements those methods, as well
as a `render_to_response` that raises NotImplementedError, that could
be subclassed?

This seems like a relatively inconsequential thing, but I thought I'd
just put it out there.  Without it, I think the tendency would be for
alternate response mixins not to contain either of these methods
(which seem like useful hooks), or to just copy and paste what's
there.

Regards,
Ed Gutierrez

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to