On Mon, May 23, 2011 at 12:47 PM, Vincent <discol...@gmail.com> wrote:
> Whenever I try to run unit tests with my managed tables, Django > insists on re creating the test database, and then the tables do not > get created for testing. in providing initial data, there seems to be > no place to create a table. How should I do unit testing on unmanaged > tables? > > You mean unmanaged, right? Django will re-create the managed tables during testing. This blog post might help: http://www.caktusgroup.com/blog/2010/09/24/simplifying-the-testing-of-unmanaged-database-models-in-django/ Karen -- http://tracey.org/kmt/ -- 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.