django-robots
django-robots copied to clipboard
Django 2.0 warning importing from urlresolvers
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.
:+1:
With 2.0rc1 this is:
ModuleNotFoundError: No module named 'django.core.urlresolvers'
So on the release in December robots 3.0 will be broken.
@hingston Which is the new replacer for this feature?
django.core.urlresolvers
is replaced with django.urls
https://docs.djangoproject.com/en/2.0/ref/urlresolvers/
It was replaced long time ago.
Try run with Django==2.0rc1
. Somewhere it wasn't replaced.
yea it's broke, making a PR :D I want 2.0
What's about this?