small impro
This commit is contained in:
@@ -233,7 +233,7 @@ def removewhitespace(s):
|
||||
return "\n".join(regels)
|
||||
|
||||
def getcoursefolder(course, document, cn=False):
|
||||
folder2 = SubElement(document, 'Folder')
|
||||
folder2 = SubElement(document, 'Folder', id="{id}".format(id=course.id))
|
||||
coursename = SubElement(folder2, 'name')
|
||||
coursename.text = course.name
|
||||
openst = SubElement(folder2, 'open')
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
@@ -240,14 +240,14 @@ def part_of_day(hour):
|
||||
|
||||
# KML API views
|
||||
"""
|
||||
- Get a list of courses
|
||||
- Get a list of courses OK
|
||||
- Nearby a certain coordinate
|
||||
- Filtered by
|
||||
- Get a (KML) course (in response.content rather than as attachment)
|
||||
- Get multiple courses as one KML in response.content
|
||||
- Get a (KML) course (in response.content rather than as attachment) OK
|
||||
- Get multiple courses as one KML in response.content OK
|
||||
- GET with parameters?
|
||||
Optional, not for CN
|
||||
- Create one or more new courses from KML
|
||||
- Create one or more new courses from KML
|
||||
- Should check for duplicates (Placemark ID)
|
||||
- Update one or more new courses from KML
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user