Legacy Table Creation Methods Not Properly Deprecated
|Reported by:||Mark Lavin||Owned by:||Tim Graham|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
As noted in https://github.com/django/django/commit/1cb6729f58ef14c2042373d8bd61fa264a955705 and https://groups.google.com/d/msg/django-developers/PWPj3etj3-U/vH4DjnVttIUJ the DB backend
DatabaseCreation class and the legacy path for table creating in the
migrate command are being removed.
DatabaseCreation is a documented part of the API in https://docs.djangoproject.com/en/1.6/topics/testing/advanced/#django-db-connection-creation and is still actively used in Django's code and test suite. For this to be deprecated per Django's published policy these should raise a deprecation warning when used prior to removal and currently neither do.
Change History (20)
comment:16 Changed 2 years ago by
|Owner:||changed from nobody to Tim Graham|
|Status:||new → assigned|