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" %

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,