On May 11, 6:32 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> user: Hi I'd like to be able to connect to multiple databases and/or
> specify connections dynamically for my Django app.
>

That wasn't what the original poster said:

"I'm managing a programming team that's developing a web app in
python.
I'd like to be using Django but can't at the moment because one of the
things we are doing is driving the application user into the database
connection, so that we can implement access control at database level.

I would like some opinions on this practice."

This doesn't appear to be the the same thing as the multi-db branch,
which is trying to provide support for access to multiple databases,
rather than multiple database-authenticated connections into a single
database. So the flogging is being applied to the wrong dead horse,
God rest its soul ;-)

Anyway, as I see it, even if you don't Django's models (whose
persistence in a relational DB leads to those things that people here
are finding constraining, such as single DB and single DB user) you
still get an excellent framework with clean URLs, a simple dispatch
mechanism, some nifty middleware, and support for the presentation
layer through the templating system. Use these parts of Django with
e.g. a SQLAlchemy (or just plain DB-API) layer which you can use to
fine tune any database scheme you like. Sure, you won't get the ready-
made admin interface, but development is often about trade-offs,
right? Django can't be all things to all people. Certainly, multi-db
and multiple database-authenticated connections are not the common
case, at least in my experience (and that's not a value judgement
about these approaches).

Regards,

Vinay Sajip


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

Reply via email to