django-debug-panel icon indicating copy to clipboard operation
django-debug-panel copied to clipboard

Fixed deprecation warning in middleware.py for django 2.0

Open Naddiseo opened this issue 7 years ago • 5 comments

Update for django 2.0

Importing from django.core.urlresolvers is deprecated in favor of django.urls.

Naddiseo avatar Sep 06 '17 21:09 Naddiseo

can this be merged, currently django debug panel does not work in django 2.0. With this fix I got it working

zetaab avatar Dec 28 '17 16:12 zetaab

@recamshak +1 on merge request.

SamuelMS avatar May 16 '18 19:05 SamuelMS

@Naddiseo line 11 needs to be removed for this to work I think

picturedots avatar May 06 '19 20:05 picturedots

Please merge this! Breaks in Django 3.0.

aymanbagabas avatar Dec 21 '19 21:12 aymanbagabas

In django 3.0, the render_to_response in views.py also breaks the installation. it should be changed to render only : https://stackoverflow.com/questions/55911435/django-importerror-cannot-import-name-render-to-response-from-django-shortcu

duduklein avatar Dec 27 '19 15:12 duduklein