mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #24245 -- Added introspection for database defaults.
Needed for tests for migrations handling of database defaults.
This commit is contained in:
parent
64a899dc81
commit
75303b01a9
6 changed files with 92 additions and 14 deletions
|
@ -165,6 +165,15 @@ Backwards incompatible changes in 1.9
|
|||
deprecation timeline for a given feature, its removal may appear as a
|
||||
backwards incompatible change.
|
||||
|
||||
Database backend API
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* A couple of new tests rely on the ability of the backend to introspect column
|
||||
defaults (returning the result as ``Field.default``). You can set the
|
||||
``can_introspect_default`` database feature to ``False`` if your backend
|
||||
doesn't implement this. You may want to review the implementation on the
|
||||
backends that Django includes for reference (:ticket:`24245`).
|
||||
|
||||
Miscellaneous
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue