File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 88LOGGER = logging .getLogger (__name__ )
99
1010
11+ VERSION_PRIOR = '16'
12+ VERSION_CURRENT = '17'
13+
14+
1115def get_year ():
1216 """ Gets the current year. Used for providing dynamic
1317 copyright year in the footer.
@@ -80,7 +84,7 @@ def view_app_param_changes_v2(vers1, vers2):
8084
8185@app .route ('/param/change' )
8286def redirect_param_change ():
83- return redirect ('/param/change/{}/{}' .format ('15' , '16' ))
87+ return redirect ('/param/change/{}/{}' .format (VERSION_PRIOR , VERSION_CURRENT ))
8488
8589
8690@app .route ('/custom' )
@@ -89,7 +93,7 @@ def redirect_custom_with_defaults():
8993 don't just 404 on them. Gives hint at query to run to get the data directly
9094 in their database.
9195 """
92- return redirect ('/custom/{}' .format ('16' ))
96+ return redirect ('/custom/{}' .format (VERSION_CURRENT ))
9397
9498
9599@app .route ('/custom/<vers1>' , methods = ['GET' , 'POST' ])
You can’t perform that action at this time.
0 commit comments