Changes between Initial Version and Version 1 of Ticket #25046
- Timestamp:
- Jul 2, 2015, 1:12:56 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25046 – Description
initial v1 1 I use quite a lot of database view (i.e. CREATE VIEW my_view) in my project. The only way to test the views is set keepdb=True, load the views and manage the test_database as a static entity forever. Ideally, I would prefer creating a clean database from both fixtures and database views whenever I need to run a test. Is it possible to add an option to load a sql script on create_test_db?1 I use quite a lot of database view (i.e. CREATE VIEW my_view) in my project. The only way to test the views is set keepdb=True, load the views and manage the test_database as a static entity forever. Ideally, creating a clean database from both fixtures and database views whenever I need to run a test makes more sense. Is it possible to add an option to load a sql script on create_test_db?