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

Addressing removal of django.conf.urls.patterns in Django 1.10 #49

Closed dryan closed 4 years ago

dryan commented 8 years ago

My stab at providing a fallback for the patterns function and fixing import errors in Django 1.10

jvamvas commented 8 years ago

Thank you for your contribution, @drian!

Have you been able to try the code yet? I think there may be an issue with the double ImportError catches. Also, I believe the add_prefix method has been removed from RegexURLPattern in 1.10.

jayvdb commented 5 years ago

It looks like this was included in https://github.com/arteria/django-compat/commit/6e807ecd4eec90a7207be277d9ac96ca3a5aeff3