-
- Downloads
Expose PROJECTS_ENABLED setting via a context processor (#1410)
The `settings` template context variable is provided by wagtail and not Django's settings proxy object. Previously this was looking up an unknown setting and evaluating to a falsey value regardless of the PROJECTS_ENABLED value.
Showing
- opentech/apply/funds/templates/funds/applicationsubmission_admin_detail.html 1 addition, 1 deletion...s/templates/funds/applicationsubmission_admin_detail.html
- opentech/apply/funds/templates/funds/applicationsubmission_detail.html 1 addition, 1 deletion...y/funds/templates/funds/applicationsubmission_detail.html
- opentech/apply/projects/context_processors.py 5 additions, 0 deletionsopentech/apply/projects/context_processors.py
- opentech/settings/base.py 1 addition, 0 deletionsopentech/settings/base.py
Loading
Please register or sign in to comment