small impro
This commit is contained in:
@@ -233,7 +233,7 @@ def removewhitespace(s):
|
|||||||
return "\n".join(regels)
|
return "\n".join(regels)
|
||||||
|
|
||||||
def getcoursefolder(course, document, cn=False):
|
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 = SubElement(folder2, 'name')
|
||||||
coursename.text = course.name
|
coursename.text = course.name
|
||||||
openst = SubElement(folder2, 'open')
|
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,11 +240,11 @@ def part_of_day(hour):
|
|||||||
|
|
||||||
# KML API views
|
# KML API views
|
||||||
"""
|
"""
|
||||||
- Get a list of courses
|
- Get a list of courses OK
|
||||||
- Nearby a certain coordinate
|
- Nearby a certain coordinate
|
||||||
- Filtered by
|
- Filtered by
|
||||||
- Get a (KML) course (in response.content rather than as attachment)
|
- Get a (KML) course (in response.content rather than as attachment) OK
|
||||||
- Get multiple courses as one KML in response.content
|
- Get multiple courses as one KML in response.content OK
|
||||||
- GET with parameters?
|
- GET with parameters?
|
||||||
Optional, not for CN
|
Optional, not for CN
|
||||||
- Create one or more new courses from KML
|
- Create one or more new courses from KML
|
||||||
|
|||||||
Reference in New Issue
Block a user