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

URLs include for Django 2.0 #60

Open browniebroke opened 7 years ago

browniebroke commented 7 years ago

The next version of Django is changing quite radically the way URLs are being included, by requiring an app name to be provided. One way to do it (and sometimes the only one) is to change the first parameter to a tuple.

It would be great if there could be a version of include in django-compat. It looks like the new syntax is available from 1.9, and the old syntax is no longer working from 2.0.

Would that be an acceptable change? I could try to put together a PR if so.

Flimm commented 6 years ago

Django 2.0 has been released!