Thanks, Karen, for pointing out. The admin is yet a secret for me :)
-- Rui http://ruivaldo.blogspot.com On Mon, Jul 14, 2008 at 11:46 AM, Karen Tracey <[EMAIL PROTECTED]> wrote: > On Mon, Jul 14, 2008 at 6:53 AM, rui <[EMAIL PROTECTED]> wrote: >> >> I meant the code that is called when you access: >> '"admin/amyprot/sequence/add/" :) >> Cheers. > > Rui: Well, that'd be the admin app, so likely not the poster's code at all. > > Allison: I assume you are using MyISAM tables? They allow you to get into a > state where you've lost referential integrity, which could explain the > error. Though, Django's admin code follows relationships on delete in an > attempt to prevent this sort of thing, so if the only way you've been > modifying the DB is with Django admin, this shouldn't really happen even > with MyISAM tables. If you (or anyone else) use the mysql command line or > anything else non-Django, though, to delete records, then all bets are off. > The error makes it sound like a Protein has been deleted without all > references to it also being deleted. A full traceback posted at someplace > like dpaste.com might help pin down more exactly what is going on. > > What leve of Django exactly are you using? You say 'not svn' but it isn't > clear whether you mean just a non-current svn checkout or something as old > as the 0.96.x release. > > Karen > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

