Good news! Yesterday, I was repeatedly starting the development server from Eclipse which is on the Run As -> menu which cascades to Run Server or Run Python Unit Test. I must have accidently clicked that we I really wanted to start my server. That command runs the PyDev Test runner and that's what clears out my tables. Now I just have to figure out how to disable the option in Eclipse or get it to do nothing. Any suggestions in this area would be appreciated and thanks to all for the suggestions.
On Oct 4, 11:08 am, msbuck <[email protected]> wrote: > I don't have an initial_data.* fixtures file although I do use one in > my tests. This data was not loaded. I didn't run syncdb or flush (very > certain of this). My current theory is that flush was somehow called > from my code. I just wish I could figure out how. > > Thanks for the suggestion. > > On Oct 4, 10:49 am, John Handelaar <[email protected]> wrote: > > > > > > > > > On 4 October 2011 15:11, msbuck <[email protected]> wrote: > > > > Twice now, I have had most of my django tables cleared from my > > > database including my app tables. Obviously I need to track this down. > > > In addition to the two tables created by my app, the AUTH_USER, > > > AUTH_USER_USER_PERMISSIONS and DJANGO_ADMIN_LOG are cleared. The > > > AUTH_PERMISSION, DJANGO_CONTENT_TYPE, and DJANGO_SESSION tables were > > > not cleared. Just to be clear, the tables still exist, there just > > > isn't any data in them. > > > Theory: you have a fixtures data file and you ran syncdb ? > > > jh -- 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.

