Django - Testing with parts of original database
Posted
by Murkin
on Stack Overflow
See other posts from Stack Overflow
or by Murkin
Published on 2010-03-16T09:59:25Z
Indexed on
2010/03/16
10:26 UTC
Read the original article
Hit count: 359
django-testing
|django
Hello everyone,
My database has two types of entries: The very dynamic (users, comments, etc) and the more static (email templates, flat-pages).
During testing I want a clean DB but with the real 'semi-static' data.
Is there a way to make Django's testing system to load parts of the original DB ?
Thanks
© Stack Overflow or respective owner