On Fri, 2006-09-29 at 19:27 +0000, Paul Childs wrote: > Could someone please tell me if this is an unfixed bug in Django 0.95. > If it is I will submit a ticket. > > I created a many-to-many relationship using an intermediate table > similar to > http://www.djangoproject.com/documentation/models/m2m_intermediary/ > (see model below.) > > I am able to successfully exercise the models with no problem in the > shell. > > When I go to the Admin and I create an Action or a Reference document > and click on save the Admin throws an exception. But the Action or > Reference is still added to the database. > > I searched existing tickets and found similar issues but I'm not sure > if they address the same circumstances.
It seems to be complaining that the content_type table's data is inconsistent somehow. Have a look at the contents of that table and see if it makes sense, particularly for the values mentioned in the error message. If it looks sensible, the next step is to ensure this is repeatable using a clean database setup: so just using your models, create a new database with that structure and make sure the problem reoccurs. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---