Re: django db library doesn't handle quoted table/field names

2012-04-16 Thread Craig Lucas
m/akaariai/django/tree/schemas/docs I clicked on the Download link at the top right. Then click "Download as Zip" On Mon, Apr 16, 2012 at 10:22 AM, Anssi Kääriäinen wrote: > On Apr 16, 5:07 pm, Craig Lucas wrote: > > I would be happy to test it. I just need a little guidance on

Re: django db library doesn't handle quoted table/field names

2012-04-16 Thread Craig Lucas
you to using 1 schema On Mon, Apr 16, 2012 at 8:16 AM, Anssi Kääriäinen wrote: > On Apr 13, 5:06 pm, Craig Lucas wrote: > > I can attempt to merge his changes in and test it. Do people typically > > merge these changes in manually? I see changes from a bunch of different > >

Re: django db library doesn't handle quoted table/field names

2012-04-13 Thread Craig Lucas
012 at 9:14 PM, Craig Lucas > wrote: > > i actually didnt try the db_column attribute because I read about > quoting it > > before I started writing the code. But that wont solve the schema > problem. > > It will still try to create the index and fk constraints with the do

Re: django db library doesn't handle quoted table/field names

2012-04-12 Thread Craig Lucas
lso On the schema question, yes adding a db_schema property and all the supporting code sounds like it would fit well...you can create fk's to tables in diff schemas. Craig On Thu, Apr 12, 2012 at 7:25 PM, Jeremy Dunck wrote: > On Thu, Apr 12, 2012 at 3:06 PM, Craig Lucas > wrote: >

django db library doesn't handle quoted table/field names

2012-04-12 Thread Craig Lucas
i have developed a database for a client that uses camel casing in the database. we are now trying to get a models.py file to mimic the database structure and i have run into a few bugs with regards to using quoted table names. The first issue is when you specify a foreign key field it takes the t