Fix the default feature checker to work if the request doesn't have a LocalSite
Review Request #9107 — Created July 28, 2017 and submitted — Latest diff uploaded
Some of our URLs won't end up attaching a local_site attribute to the request
(for example, pages in the admin site, or the manual updates required page). In
this case, we still want{% is_feature_enabled %}
to work without crashing.
- Called the
is_feature_enabled
tag from the base template and was able to view
pages that crashed before. - Ran unit tests.