On 1/6/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 1/6/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
> > Treating django.models.core and django.models.auth as special cases is
> > kind of confusing. They should be regular apps, but we don't want to
> > have to add 2 extra steps (installing the 2 apps) to get a django
> > project up and running. Here's a few ideas for fixing the problems.
>
> I did a double-take on this e-mail, because it's almost exactly the
> same proposal as one I wrote a couple of weeks ago! :)
>
> http://groups.google.com/group/django-developers/browse_thread/thread/dc86e876af62a4cd/3413fb5e4ec2ed6c
>
> That thread died out due to discussion of the problems of a dependency
> system -- which seemed like reasonable pushback to me. Let's avoid the
> dependency thing for now.

I was actually one who argued against a dependency system, but that
was in reference to some some sort of "blessed" dependency system that
does version checking and everything declaratively. What I'm proposing
here is allowing for doing it procedurally. It would require a lot
less up front design, and  wouldn't generate as many "can you make it
do X, Y and Z too!?" type of requests. Those are what I was worried
about. I think the pre-post install stuff would be useful regradless
of using it for dependencies, but it's certainly a separate issue from
splitting up core/auth into apps. Maybe I'll just bring it up in
another thread later.


> I really like your idea of "init" and "init-minimal" -- that
> accomplishes the clean split of auth/core into regular apps while
> keeping it just as easy to install the basics. Let's do it!

I'll start working on a patch for the magic-removal branch. This
should fix #1171 as well.


> One more idea, though, would be to split "core" into
> django.contrib.sessions, django.contrib.contenttypes and
> django.contrib.sites. Packages would go away, because they're not
> really necessary (we used them heavily about 1.5 years ago, but
> they're no longer useful). Thoughts on that?

I always thought sites were something useful for a few special cases,
but certainly not for everyone. Splitting out sessions might be useful
as well since I can see people wanting to replace it. I've never even
really noticied packages, so no comment there.

Joseph

Reply via email to