Skip to content

Commit b2351ed

Browse files
committed
fix setting template reference
1 parent 8c7bd53 commit b2351ed

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

forecastmanager/site_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
TabbedInterface,
99
ObjectList,
1010
)
11-
@register_setting
11+
# @register_setting
1212
class Setting(BaseSiteSetting):
1313
enable_auto_forecast = models.BooleanField(
1414
default=True,

forecastmanager/templates/forecastmanager/forecast.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
<div class="messages" role="status">
2525
<ul>
26-
{% if settings.base.IntegrationSettings.enable_auto_forecast %}
26+
{% if settings.forecastmanager.Setting.enable_auto_forecast %}
2727
<li class="warning">
2828
<svg class="icon icon-warning messages-icon" aria-hidden="true"><use href="#icon-warning"></use></svg>
2929
Autoforecasting has been enabled and manually added forecasts here will be overidden.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = forecastmanager
3-
version = 0.0.1
3+
version = 0.0.2
44
description = Integration of Weather City Forecasts Manager in Wagtail Projects.
55
long_description = file:README.md
66
long_description_content_type = text/markdown

0 commit comments

Comments
 (0)