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

Update __init__.py #68

Open jmelichar opened 4 months ago

jmelichar commented 4 months ago

The try/except block here is failing for the most recent version of Django.

It's trying to import include from django.conf.urls and then failing into the ImportError exception which then causes a compilation error when it tries to import from django.conf.urls.default since that no longer exists.