Users of Django are usually familiar with such syntax - SQL uses that, Python import uses that. From the user readibility I prefer it.
With:
INSTALLED_APPS = (
'foo.bar.baz',
('foo.baz.baz', 'baz2'),
)
you will have to deal with several brackets and explain what is the name and what the alias.
Radek
On 1/19/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
On Jan 18, 2006, at 8:23 PM, Adrian Holovaty wrote:
> On 1/18/06, hugo <[EMAIL PROTECTED]> wrote:
>> How about something like this:
>>
>> INSTALLED_APPS = (
>> 'foo.bar.baz',
>> ('foo.baz.baz', 'baz2'),
>> )
>
> This seems to be a good compromise -- it requires no change for the
> common case, and it's not "code as string" stuff. Shall we?
Sounds good to me.
Jacob