Hi,

I am running svn revision 10924 on Windows Server 2008 with Oracle 10g
release 2.

Using inspectdb, I created a model for an Oracle table.  When I issue
<model_name>.objects.all() for the new model, the records returned are
records added using either the Python interpreter or the Django
admin.  None of the records entered previously are returned.

But the primary key in the Oracle table, once deleted, fixes the
problem.  All rows appear in the admin and in the interpreter when no
primary key exists.

If you know of an explanation, please help me understand why I must
remove the primary key from an existing Oracle table to display its
records.

Tables created via python manage.py syncdb function as described in
the Django documentation.  They all contain an "ID" field which is set
as the primary key.

Thanks!
Mike
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to