On Fri, Jun 4, 2010 at 11:54 PM, burc...@gmail.com <burc...@gmail.com> wrote:
> Hi Russell,
>
> I strongly disagree with your and Adrian vision of whether conventions
> are good or not.
> But I won't comment that any further. There are your political
> decisions, and I have no single bit of control on them.
> I know that it's impossible to persuade you, so why should I spend my
> time doing this.
>
> However, you didn't tell anything on the problem that was the main
> reason why I wrote this app.
> Additive variables.
>
> DATABASES, DATABASE_ROUTERS, MIDDLEWARE, etc.
> Do you think situation will change with them?
>
> In example, I want few of my apps to work with their own databases.
> They need to install their database into DATABASES and their router
> into DATABASE_ROUTERS.
>
> How would you do that?

Like Tom said - you don't solve it by configuring the app. You
configure the way a project uses an app, not the way an app should be
used in a project. His example for configuring DATABASES is right on
the money.

As an example of why the 'app configuration' approach fails, consider
the case of reusable apps. A reusable app can suggest defaults for
settings, but once a reusable app you wrote is in my project, I need
to configure it to conform to my local conditions. Your app *cannot*
know what database it needs to use when it's in *my* project. That's a
project configuration issue for me.

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to