Google Groups Home
Help | Sign in
Message from discussion Django and Multiple Database Support
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Adrian Holovaty  
View profile
 More options Jan 10 2006, 9:16 am
From: Adrian Holovaty <holov...@gmail.com>
Date: Tue, 10 Jan 2006 08:16:36 -0600
Local: Tues, Jan 10 2006 9:16 am
Subject: Re: Django and Multiple Database Support
On 1/10/06, Greg <goo...@abbas.org> wrote:

> So I hacked
> DatabaseWrapper.quote_name so that it doesn't quote periods, but is
> that the "right" way to handle this or is it an ugly hack? It seems to
> work very well, but it feels like it might be cleaner to add a
> db_schema attribute or something instead. (Should I submit a patch? :-)

Perhaps we could have the best of both worlds, and have the Model
constructor split on period, storing db_schema internally if a schema
was provided.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google