Thursday, May 28, 2015

How can i keep test data in django testing

I am using django 1.8 and it says to use --keepdb to save test database

https://docs.djangoproject.com/en/1.8/topics/testing/overview/#the-test-database

I am doing that and database is there but everytime i see it and it is empty and has no data in it.

Is there any way that i can preserve that so that i can see whats in there


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ab63d509-20e7-4b5d-8afe-207a130bf8dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment