Changes between Version 1 and Version 2 of Ticket #29225
- Timestamp:
- Mar 15, 2018, 3:43:18 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29225 – Description
v1 v2 26 26 The teardown procedure is repeated for every database config we have. 27 27 Guess what happens in the second iteration? 28 Real sqlite db is destroyed .28 Real sqlite db is destroyed because {{{ self.connection.settings_dict }}} is actually the same object for both configs. 29 29 30 30 May be this one is well known and every developer is aware of that? 31 31 But still it is to easy to step into this trap in my opinion. 32 32 33 I guess it should be documented somewhere or the code above somehow amended. 34 (I don't know Django well enough to say whether that restoring old name is necessary or not) 33 I guess it should be documented somewhere or the code above somehow amended. 34 May be some flag showing that the database is already destroyed would be enough. 35 I don't know Django well enough to say whether that restoring old name is necessary or not. 35 36