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

Django 2.0 warning importing from urlresolvers #79

Open
dpoirier opened this issue Jun 16, 2017 · 8 comments
Open

Django 2.0 warning importing from urlresolvers #79

dpoirier opened this issue Jun 16, 2017 · 8 comments

Comments

@dpoirier
Copy link

With robots 3.0 and Django 1.11 with deprecation warnings enabled, I see

robots/views.py:3: RemovedInDjango20Warning: Importing from django.core.urlresolvers is deprecated in favor of django.urls.
@SalahAdDin
Copy link

👍

@hingston
Copy link

With 2.0rc1 this is:
ModuleNotFoundError: No module named 'django.core.urlresolvers'
So on the release in December robots 3.0 will be broken.

@SalahAdDin
Copy link

@hingston Which is the new replacer for this feature?

@hingston
Copy link

django.core.urlresolvers is replaced with django.urls

https://docs.djangoproject.com/en/2.0/ref/urlresolvers/

@SalahAdDin
Copy link

It was replaced long time ago.

@hingston
Copy link

hingston commented Dec 2, 2017

Try run with Django==2.0rc1. Somewhere it wasn't replaced.

@tony
Copy link
Member

tony commented Dec 7, 2017

yea it's broke, making a PR :D I want 2.0

@tony tony mentioned this issue Dec 7, 2017
7 tasks
tony added a commit to develtech/django-robots that referenced this issue Dec 7, 2017
@SalahAdDin
Copy link

What's about this?

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

No branches or pull requests

4 participants