arteria / django-compat

Forward and backwards compatibility layer for Django 1.4, 1.7, 1.8, 1.9, 1.10, and 1.11
MIT License
106 stars 30 forks source link

ImportError: cannot import name 'LocaleRegexProvider' in Django 2.0a1 #61

Closed browniebroke closed 6 years ago

browniebroke commented 7 years ago
  File "/Users/Bruno/Documents/Workspace/open-source-projects/django-surveys/.tox/py36-djangomaster/lib/python3.6/site-packages/compat/__init__.py", line 388, in <module>
    from django.urls import (
ImportError: cannot import name 'LocaleRegexProvider'

From the updates in the tests in this PR, I'm under the impression that it was renamed to RegexPattern in Django 2.0a1.

Mogost commented 6 years ago

Django 2.0 released. Will be this pull request merged?