Fix the default feature checker to work if the request doesn't have a LocalSite

Review Request #9107 — Created July 28, 2017 and submitted

Information

Review Board
release-3.0.x
733d945...

Reviewers

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.
brennie
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (73a3b3e)
Loading...