On 1/8/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> > django.core.extensions     -> django.shortcuts
> >                                 - includes render_to_string
>
> +1. "django.shortcuts" is a *perfect* name for this module.

I like this idea, but I think that shortcuts of whatever should use
explicit imports such as

from django.core.extensions import DjangoContext, render_to_response, etc....

rather than

from django.core.extensions import *

This makes it a lot easier to tell what exactly you'll get if you
import django.shortcuts. I've worked with a bunch of projects that had
something like myproject.api that had a bunch of from X import *. It's
a lot more convenient to be able to read the code than to have to use
dir(module) or track down what's in all those modules.

> Let's get some more feedback quickly and move forward with this. Also,
> is anybody interested in implementing this code in magic-removal?
> Kieran?

I'm willing to help if needed.

Joseph

Reply via email to