bug fix in race edit
This commit is contained in:
@@ -535,7 +535,7 @@ def update_virtualrace(ps,cd):
|
|||||||
|
|
||||||
course = cd['course']
|
course = cd['course']
|
||||||
geocourse = GeoCourse.objects.get(id= course.id)
|
geocourse = GeoCourse.objects.get(id= course.id)
|
||||||
timezone_str = courses.get_course_timezone(geocourse)
|
timezone_str = get_course_timezone(geocourse)
|
||||||
|
|
||||||
startdatetime = datetime.combine(cd['startdate'],cd['start_time'])
|
startdatetime = datetime.combine(cd['startdate'],cd['start_time'])
|
||||||
enddatetime = datetime.combine(cd['enddate'],cd['end_time'])
|
enddatetime = datetime.combine(cd['enddate'],cd['end_time'])
|
||||||
|
|||||||
@@ -10,6 +10,9 @@
|
|||||||
|
|
||||||
<h1>New Virtual Race</h1>
|
<h1>New Virtual Race</h1>
|
||||||
|
|
||||||
|
<p>With this form, you can create a new virtual race. After you submit
|
||||||
|
the form, the race is created and will be visible to all users. From
|
||||||
|
that moment, only the site admin can delete the race (admin@rowsandall.com). You can still edit the race until the start of the race window. </p>
|
||||||
|
|
||||||
<div class="grid_8 alpha">
|
<div class="grid_8 alpha">
|
||||||
<form enctype="multipart/form-data" action="{{ formloc }}" method="post">
|
<form enctype="multipart/form-data" action="{{ formloc }}" method="post">
|
||||||
|
|||||||
Reference in New Issue
Block a user