Re: Randomly clearing database tables
On Oct 4, 10:30 am, msbuck <mbuckn...@usgs.gov> wrote:
> 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.
What does your DATABASES setting look like? Everything test-related
is supposed to be run under a separate schema and tablespace to avoid
modifying actual data. It sounds like something is running in the
wrong place.
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home