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, rewrote settings.py, and chanted # django-admin.py inspectdb --settings=mymodule.settings He was rewarded with: -------------------------------------------------------------------------------- # This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # Feel free to rename the models, but don't rename db_table values or field names. # # Also note: You'll have to insert the output of 'django-admin.py sqlinitialdata [appname]' # into your database. from django.db import models class Pad2PermitFee(models.Model): ------------------------------------------------------------------------------- But then, alas: ------------------------------------------------------------------------------- Traceback (most recent call last): File "c:\Python23\Lib\site-packages\Django-0.95-py2.3.egg\django\bin\django-admin.py", line 5, in ? management.execute_from_command_line() File "c:\python23\lib\site-packages\Django-0.95-py2.3.egg\django\core\management.py", line 1224, in execute_from_command_line for line in action_mapping[action](): File "c:\python23\lib\site-packages\Django-0.95-py2.3.egg\django\core\management.py", line 745, in inspectdb field_type = introspection_module.DATA_TYPES_REVERSE[row[1]] IndexError: string index out of range ------------------------------------------------------------------------------- It's me! I'm stuck, please help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---