Changeset 6edc367 in OpenWorkouts-current for ow/views/workout.py
- Timestamp:
- Feb 8, 2019, 5:20:26 PM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- 4226ce0
- Parents:
- 2a71053 (diff), 55470f9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/views/workout.py
r2a71053 r6edc367 128 128 return HTTPFound(location=request.resource_url(context)) 129 129 130 # round some values before rendering 131 if form.data['distance']: 132 form.data['distance'] = round(form.data['distance'], 2) 133 130 134 return { 131 135 'form': FormRenderer(form)
Note: See TracChangeset
for help on using the changeset viewer.