Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
waterdataui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Water Mission Area
Internet of Water
waterdataui
Commits
28af569d
Commit
28af569d
authored
2 years ago
by
Briggs, Aaron Shane
Browse files
Options
Downloads
Patches
Plain Diff
remove GROUNDWATER_LEVELS_ENABLED flag
parent
dea715f7
No related branches found
No related tags found
1 merge request
!394
Wdfn 321 remove feature flags that are no longer needed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
wdfn-server/config.py
+0
-1
0 additions, 1 deletion
wdfn-server/config.py
wdfn-server/waterdata/views.py
+1
-2
1 addition, 2 deletions
wdfn-server/waterdata/views.py
with
1 addition
and
3 deletions
wdfn-server/config.py
+
0
−
1
View file @
28af569d
...
...
@@ -12,7 +12,6 @@ AFFILIATED_NETWORKS_ENABLED = True
MONITORING_LOCATION_CAMERA_ENABLED
=
True
DAILY_VALUE_HYDROGRAPH_ENABLED
=
True
SET_COOKIE_TO_HIDE_BANNER_NOTICES
=
True
# set cookie set to hide banner messages for the life of the cookie
GROUNDWATER_LEVELS_ENABLED
=
True
DEBUG
=
False
# SITE_DATA_ENDPOINT is only used server side so does not need to be a public URL
...
...
This diff is collapsed.
Click to expand it.
wdfn-server/waterdata/views.py
+
1
−
2
View file @
28af569d
...
...
@@ -149,8 +149,7 @@ async def monitoring_location(site_no):
_
,
_
,
period_of_record
=
period_of_record_resp
iv_period_of_record
=
get_period_of_record_by_parm_cd
(
period_of_record
,
'
uv
'
)
gw_period_of_record
=
get_period_of_record_by_parm_cd
(
period_of_record
,
'
gw
'
)
if
app
.
config
[
'
GROUNDWATER_LEVELS_ENABLED
'
]
else
{}
gw_period_of_record
=
get_period_of_record_by_parm_cd
(
period_of_record
,
'
gw
'
)
site_dataseries
=
[
get_disambiguated_values
(
param_datum
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment