Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed support for function-based template loaders. #3558

Merged

Conversation

aaugustin
Copy link
Member

They were deprecated in Django 1.2 but not all the supporting code was
removed in Django 1.4. Since the remaining code was unlikely to be
functional (pun intended) e.g. it would crash unless the loader
function had an is_usable attribute, this commit completes the removal
immediately instead of starting another deprecation path.

@aaugustin
Copy link
Member Author

I committed a deprecation path for the remains of support for function-based template loaders today.

Shortly after I noticed I should have removed the code outright, which this pull request does. Thoughts?

They were deprecated in Django 1.2 but not all the supporting code was
removed in Django 1.4. Since the remaining code was unlikely to be
functional (pun intended) e.g. it would crash unless the loader
function had an is_usable attribute, this commit completes the removal
immediately instead of starting another deprecation path.
@aaugustin aaugustin force-pushed the purge-function-based-template-loaders branch from cd47f39 to fab26cf Compare November 16, 2014 21:18
@aaugustin aaugustin merged commit fab26cf into django:master Nov 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant