This is the confusing part. The EDA_AppCatalog imports from my bookmarks package with no problem.
My class definition for this object has only 1 field, a ForeignKey to an EDA_App. I know that the Object Model will be assigning an "ID" to the object when it stores it in the database. I am not assigning this ID field. I also don't do this with the other object models that I have defined and that seem to be working with no problem. Why the admin interface is complaining about this ID field even before I have even instantiated an initial EDA_App to add to the database is strange. I have another object defined that uses 3 ForeignKeys that works fine in the admin interface. There seems to be something that is not defined properly with this particular object definition. -M On Dec 5, 7:35 pm, Furbee <furbeena...@gmail.com> wrote: > Don't mean to sound remedial, but have you verified that the table > bookmarks_eda_appcatalog exists and that it has a column named eda_app_id? > Did you use manage.py syncdb to create the tables? > > Furbee > > > > > > > > On Mon, Dec 5, 2011 at 4:24 PM, Marc Edwards <jmarcedwa...@gmail.com> wrote: > > I am receiving the following error from the Django debugger when > > trying to access my EDA_AppCatalog object. My class definition is > > listed below. I have similar defined objects that are working with no > > problem, but I can't seem to clear this error message up. > > > Thanks, Marc > > > DatabaseError at /admin/bookmarks/eda_appcatalog/ > > > no such column: bookmarks_eda_appcatalog.eda_app_id > > > Request Method: GET > > Request URL: http://127.0.0.1:8000/admin/bookmarks/eda_appcatalog/ > > Django Version: 1.3.1 > > Exception Type: DatabaseError > > Exception Value: > > > no such column: bookmarks_eda_appcatalog.eda_app_id > > > Exception Location: /usr/local/lib/python2.7/dist-packages/django/db/ > > backends/sqlite3/base.py in execute, line 234 > > Python Executable: /usr/bin/python2.7 > > Python Version: 2.7.2 > > Python Path: > > > ['/home/jmarcedwards/KeplerDevelopment/KeplerEclipseWorkspace_1/ > > JME_DjangoTest_3/JME_DjangoTest_3', > > > --------------------------------------------------------------------------- > > -------------------- > > class EDA_AppCatalog(models.Model): > > > eda_app = models.ForeignKey(EDA_App) > > > -- > > 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. -- 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.