dcramer / django-devserver

A drop-in replacement for Django's runserver.
BSD 3-Clause "New" or "Revised" License
1.27k stars 159 forks source link

Fix SQLRealTimeModule to work in Django 1.7 #105

Closed coagulant closed 8 years ago

coagulant commented 9 years ago

In Django 1.7 django.db.backends.util is deprecated and not used, patching it has no effect, resulting in no sql output in console.

GitFree commented 9 years ago

:+1:

GitFree commented 9 years ago

This pr also fix the django.db.backends.util deprecating warning on django>=1.8:

RemovedInDjango19Warning: The django.db.backends.util module has been renamed. Use django.db.backends.utils instead. from django.db.backends import util

enwar3 commented 9 years ago

This would be awesome to have!

debuggerpk commented 9 years ago

shouldn't this me closed

Pycz commented 9 years ago

This should be merged in master, it fixes a really annoying error.

delinhabit commented 9 years ago

:+1: can this be merged to master?

morlandi commented 8 years ago

:+1:

Thanks ! should be merged asap in master

jnm commented 8 years ago

@dcramer, this fix seems to work well. Would love to see it merged. Thanks for creating this tool.

eroninjapan commented 8 years ago

Tested this on Django 1.8.9 and it fixed the issue with SQLRealTimeModule.

egrubbs commented 8 years ago

I just now merged in #121, which is identical to this PR except for some comments. Therefore, I'm closing this PR.