Update for some moved items in django.template
Review Request #8693 — Created Jan. 31, 2017 and submitted
Django moved the locations of some classes and methods within the
django.template
module. This change updates our code for the new location.
Ran unit tests.
-
-
reviewboard/notifications/webhooks.py (Diff revision 1) Context
is supposed to be fromdjango.template
for the widest compatibility. -
-
reviewboard/site/templatetags/__init__.py (Diff revision 1) add_to_builtins
doesn't exist in 1.9+. We'll need to revisit this whole file.