On 1/18/06, Maniac <[EMAIL PROTECTED]> wrote:
>
> I propose to just let the django-admin.py accept not only last bit of
> paths but also full paths. So if someone has a app name clash he will
> just use:
>
> django-admin.py install myapp.admin

Unfortunately, this alone doesn't solve the possible clashes between
table names or clashed between template directories. The main point of
the other proposal is to avoid extra nested directories for templates
(templates/myapp/admin vs templates/admin), and longer tablenames such
as (myapp_admin_user vs admin_user). Granted that the examples I gave
aren't *that* bad, but it's not hard to imagine a case where they
would be... What about templates/django/contrib/admin/user? I don't
think django.contrib apps should get special treatement.

I guess the least invasive option is 'myapp.admin as myadmin'.
INSTALLED_APPS for every existing django project can stay the same. I
can live with the magic there. Jacob has a point that it's pretty
obvious.

Joseph

Reply via email to