Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed deprecation warning in middleware.py for django 2.0 #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Naddiseo
Copy link

@Naddiseo Naddiseo commented Sep 6, 2017

Update for django 2.0

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

Update for django 2.0
@zetaab
Copy link

zetaab commented Dec 28, 2017

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

@SamuelMS
Copy link

@recamshak +1 on merge request.

@picturedots
Copy link

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

debug_panel/middleware.py Outdated Show resolved Hide resolved
Co-Authored-By: Naddiseo <github@naddiseo.ca>
@aymanbagabas
Copy link

Please merge this! Breaks in Django 3.0.

@duduklein
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants