tested Deep Water
This commit is contained in:
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
@@ -4305,9 +4305,9 @@ def nextweekplan_view(request):
|
|||||||
url = "http://localhost:8898/next-week-plan/"
|
url = "http://localhost:8898/next-week-plan/"
|
||||||
response = requests.post(url, data=post_data)
|
response = requests.post(url, data=post_data)
|
||||||
|
|
||||||
data = response.json()
|
|
||||||
|
|
||||||
if response.status_code in [200,201]:
|
if response.status_code in [200,201]:
|
||||||
|
data = response.json()
|
||||||
if delete_existing:
|
if delete_existing:
|
||||||
remove_next_week_sessions(r)
|
remove_next_week_sessions(r)
|
||||||
create_next_week_from_json(data, r)
|
create_next_week_from_json(data, r)
|
||||||
|
|||||||
Reference in New Issue
Block a user