Changes between Version 229 and Version 230 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Aug 11, 2008, 7:38:48 AM (16 years ago)
Author:
Russell Keith-Magee
Comment:

Added a note on the test utility methods that were affected by [8296]

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v229 v230  
    11511151 * The DB shell, previously accessed using `django.db.runshell()` is now available on the database connection as`connection.client.runshell()`.
    11521152
    1153 In addition, any user that is maintaining an external database backend will need to update their code to use the new interface. The new class-based approach should make backend development much easier, as common behavior can be inherited from the base classes in django.db.backends; only database-specific behavior should require implementation.
     1153Users that have written custom test runners will also be affected; the `create_test_db()` and `destroy_test_db()` helper methods (plus a few other methods utilized by these two) have been moved into the database backend as part of the creation interface. You can access these methods using `connection.creation.create_test_db()` and `connection.creation.destroy_test_db()`
     1154
     1155Lastly, any user that is maintaining an external database backend will need to update their code to use the new interface. The new class-based approach should make backend development much easier, as common behavior can be inherited from the base classes in django.db.backends; only database-specific behavior should require implementation.
Back to Top