forked from expo/troggle
Adding QM JSON export
This commit is contained in:
3
urls.py
3
urls.py
@@ -12,7 +12,7 @@ from troggle.core.views.editor_helpers import image_selector, new_image_form
|
||||
from troggle.core.views.expo import (editexpopage, expofiles_redirect,
|
||||
expofilessingle, expopage, map, mapfile,
|
||||
mediapage, spider)
|
||||
from troggle.core.views.logbooks import (Expeditions_jsonListView,
|
||||
from troggle.core.views.logbooks import (QMs_jsonListView, Expeditions_jsonListView,
|
||||
Expeditions_tsvListView, expedition,
|
||||
get_logbook_entries, get_people,
|
||||
logbookentry, notablepersons, person,
|
||||
@@ -120,6 +120,7 @@ trogglepatterns = [
|
||||
re_path(r'^expedition/(\d+)$', expedition, name="expedition"),
|
||||
re_path(r'^api/expeditions_tsv$', Expeditions_tsvListView.as_view()),
|
||||
re_path(r'^api/expeditions_json$', Expeditions_jsonListView.as_view()),
|
||||
re_path(r'^api/QMs_json$', QMs_jsonListView.as_view()),
|
||||
|
||||
# Logbook entries
|
||||
re_path(r'^logbookentry/(?P<date>.*)/(?P<slug>.*)/?$', logbookentry,name="logbookentry"),
|
||||
|
||||
Reference in New Issue
Block a user