On 5/10/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
Exactly. That's precisely what I pointed out in the (now closed)ticket for this feature request. Settings files are pure Python for areason -- this sort of flexibility.Let's move onto more pressing improvements to the framework, shall we?
It
On 5/9/06, DavidA <[EMAIL PROTECTED]> wrote:
> Can't you just accomplish the same goal by adding a couple of lines to
> your settings file? Assuming you had an environ variable DSN set like
> this:
> [...]
> I guess it just seems like its easy enought to do in Python directly,
> why would you
On 5/9/06, pbx <[EMAIL PROTECTED]> wrote:
> Here's another way to look at it, given that we are still at 0.91+:
> Besides inertia, what are the arguments in favor of the system Django
> currently uses? The only person I've seen address this is Jacob, who
> correctly noted in the ticket comments
Here's another way to look at it, given that we are still at 0.91+:
Besides inertia, what are the arguments in favor of the system Django
currently uses? The only person I've seen address this is Jacob, who
correctly noted in the ticket comments that some beginners would find
the separate
Can't you just accomplish the same goal by adding a couple of lines to
your settings file? Assuming you had an environ variable DSN set like
this:
DSN=ENGINE=mysql;NAME=data;USER=root;PASSWORD=redpill;HOST=localhost
then add:
import os
dsn = dict([kv.split('=') for kv in
this is all hypothetical since I haven't migrated any apps yet, but
why would we want to have separate settings files if only the database
config would change? To answer your question: I would ideally want to
support these scenarios :
1. developer running app on local machine
2. developer
On 5/9/06, Kumar McMillan <[EMAIL PROTECTED]> wrote:
> Also, at my company we use sandboxed
> postgres (every user has his own database, named $USER) on our main
> dev server for better isolation. This means we pretty much have to set
> database settings as envionment variables.
Sorry, I'm not
How many Django'ers out there typically use DSNs for their web apps?
How are you currently working around Django's lack of DSN support?
I'm still new to Django, looking to migrate some existing apps to
Django plus start new ones, but without DSN support out of the box
it's almost a show stopper.
8 matches
Mail list logo