django-devserver icon indicating copy to clipboard operation
django-devserver copied to clipboard

Fix deprecation for django.db.backends.util

Open kriberg opened this issue 9 years ago • 4 comments

Renamed django.db.backends.util to utils, ref: sql.py:15: RemovedInDjango19Warning: The django.db.backends.util module has been renamed. Use django.db.backends.utils instead.

kriberg avatar Dec 01 '15 12:12 kriberg

@dcramer please merge this change as this is preventing upgrade to Django 1.9

minhnhdo avatar Dec 28 '15 09:12 minhnhdo

I dont use Django 1.9 or know anything about it. Additionally it's not clear to me that this wont break other versions of Django as it blindly changes an import statement.

Quite honestly, I'm tempted to deprecate this repo as it's no longer useful with the state of the world. Our primary reason for continuing its usage was for the threaded runserver, which is no longer only supported by devserver. If someone wants to take over maintainership they can take care of this patch.

dcramer avatar Dec 28 '15 17:12 dcramer

This is not the right patch as it will break old Django versions.

@dcramer you should move this repository to the jazzband organization.

thoas avatar Dec 28 '15 19:12 thoas

Fixed in 4c5864a

justinsg avatar Jul 24 '16 17:07 justinsg