Re: error with inspectdb using oracle (v0.95)

2006-09-15 Thread world_domination_kites
OK. That change did make inspectdb work, however it wasn't the end of the story... # manage.py syncdb gave me an invalid character error. Fixed that in oracle/base.py FormatStylePlaceholderCursor with: def execute(self, query, params=[]): query = self.convert_arguments(query,

Re: error with inspectdb using oracle (v0.95)

2006-09-14 Thread world_domination_kites
cx_Oracle seems to be DB-API compliant, no need to stuff about with those pesky oracle data-dictionary views. I did this: def get_table_description(cursor, table_name): "should return a DB-API cursor.description alike sequence" cursor.execute("SELECT * FROM %s WHERE 1=2" %

Re: error with inspectdb using oracle (v0.95)

2006-09-11 Thread Jeremy Dunck
On 9/11/06, DavidA <[EMAIL PROTECTED]> wrote: > ... > You could try implementing those three functions, using one of the > other backends as a starting point, but you'll need to be fairly > familiar with Oracle to get through it, me thinks. This will help: http://www.ss64.com/orad_v8/index.html

Re: error with inspectdb using oracle (v0.95)

2006-09-11 Thread DavidA
world_domination_kites wrote: > --- > But then, alas: > --- > Traceback (most recent call last): > File >

error with inspectdb using oracle (v0.95)

2006-09-11 Thread world_domination_kites
A lazy django newby, first time poster, newly subscribed, wanted a quick and squeaky-clean admin interface for a legacy Oracle database. He installed Django 0.95 and PostgreSQL on his windows XP workstation, did the tutorial, had a bit of a tinker and fell in love. He installed cx_Oracle,