diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/baseapi.html | 1 | ||||
-rw-r--r-- | templates/core/expeditions_json_list.html | 4 | ||||
-rw-r--r-- | templates/core/expeditions_tsv_list.html | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/templates/baseapi.html b/templates/baseapi.html new file mode 100644 index 0000000..372c1bb --- /dev/null +++ b/templates/baseapi.html @@ -0,0 +1 @@ +{% block content %}{% endblock %}
\ No newline at end of file diff --git a/templates/core/expeditions_json_list.html b/templates/core/expeditions_json_list.html new file mode 100644 index 0000000..ebd5834 --- /dev/null +++ b/templates/core/expeditions_json_list.html @@ -0,0 +1,4 @@ +{% extends "baseapi.html" %} +{% block content %}{ +{% for expedition in object_list %}"{{expedition.year}}": ["{{expedition.name}}","{{expedition.get_absolute_url}}"] +{% endfor %} }{% endblock %}
\ No newline at end of file diff --git a/templates/core/expeditions_tsv_list.html b/templates/core/expeditions_tsv_list.html new file mode 100644 index 0000000..6aa2b15 --- /dev/null +++ b/templates/core/expeditions_tsv_list.html @@ -0,0 +1,3 @@ +{% extends "baseapi.html" %} +{% block content %}{% for expedition in object_list %}{{expedition.year}} "{{expedition.name}}" "{{expedition.get_absolute_url}}" +{% endfor %}{% endblock %}
\ No newline at end of file |