>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.
How about something like this: INSTALLED_APPS = ( 'foo.bar.baz', ('foo.baz.baz', 'baz2'), ) So essentially either provide a string - in that case use the last element - or provide a two-string-tuple - in that case use the second element for the app name? Makes the common case as simple as it already is, but makes the complex case simple and without weird "code as string" stuff :-) bye, Georg