django-overextends
django-overextends copied to clipboard
Update readme to reflect that django 'extends' now natively supports this feature.
It appears that Django does now support circular inheritance. Not sure when it was introduced (believe 1.10?), but testing version 1.11 using the extends tag on a template of the same name now works correctly and allows me to selectively override+extend that template in the same way that overextends does.
It would probably be good to add a note to the readme and pypi docs to reflect that, and suggest a migration path so that when users migrate to Django 1.11 (which they need to soon because of 1.8 LTS ending early next year), they can stop using this library.
After of course testing that the expected functionality is now in Django, otherwise if this library still does anything usefully different it would be worth noting that, otherwise you can probably issue a deprecation warning and drop support for newer releases of Django after 1.11 LTS.
Now if only the Django docs themselves were actually clear about the ability to do circular inheritance with a section that looked like your readme...
That said, thank you for this library! This was an amazingly useful thing for ages!
That's been available since Django 1.9, it was https://code.djangoproject.com/ticket/15053
I changed the tests to use extends
instead of overextends
and they pass since Django 1.9: https://travis-ci.org/stefanw/django-overextends/builds/458417914