At first glance, I think I prefer the "myapp.admin as admin" syntax.

It seems like the dictionary is boilerplate -- 99% of the time, you're
going to be doing::

    INSTALLED_APPS = {
        'news' : 'ellington.news',
        'photos' : 'ellington.photos',
        # etc
    }

Put another way: Ellington (currently) has 71 apps, and we've not yet
run into a name conflict.  I think we should optomize for the common
case and use a tuple or a list.

I'll admit there's something a little magic about adding "code" to a
string in the "foo as bar" proposal, but it strikes me as pretty
obvious magic. As it's impossible to misinterpret (in any other
situation a space in INSTALLED_APPS is an error) I think it's the most
elegant.

Jacob

Reply via email to