Changes between Version 1 and Version 2 of Ticket #27061, comment 2
- Timestamp:
- Aug 14, 2016, 11:21:51 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27061, comment 2
v1 v2 9 9 But Django doesn't support this option. 10 10 11 If Django could clone a test database from an existing database, that would be another option. It already has syntax like the following in postgresql's `_clone_test_db()` to clone a test database from another test database (from [https://github.com/django/django/blob/d7e0cf04b77c859d895e81ddb7af06a2ccfda5a7/django/db/backends/postgresql/creation.py#L26 here] :11 If Django could clone a test database from an existing database, that would be another option. It already has syntax like the following in postgresql's `_clone_test_db()` to clone a test database from another test database (from [https://github.com/django/django/blob/d7e0cf04b77c859d895e81ddb7af06a2ccfda5a7/django/db/backends/postgresql/creation.py#L26 here]): 12 12 13 13 {{{#!python