summaryrefslogtreecommitdiffstats
path: root/core/views/logbooks.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-03-16 21:06:52 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2023-03-16 21:06:52 +0000
commit3011e7b11428558360ba2718b8e3d9947607b992 (patch)
tree27a2180936d7f767cfabdffbf9cdc82ad0100bd2 /core/views/logbooks.py
parent98066591dacdffb4ff33d30bc1cd341bc6f3f229 (diff)
downloadtroggle-3011e7b11428558360ba2718b8e3d9947607b992.tar.gz
troggle-3011e7b11428558360ba2718b8e3d9947607b992.tar.bz2
troggle-3011e7b11428558360ba2718b8e3d9947607b992.zip
Adding QM JSON export
Diffstat (limited to 'core/views/logbooks.py')
-rw-r--r--core/views/logbooks.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/views/logbooks.py b/core/views/logbooks.py
index 626153c..2f89963 100644
--- a/core/views/logbooks.py
+++ b/core/views/logbooks.py
@@ -3,7 +3,7 @@ from django.shortcuts import render
from django.views.generic.list import ListView
import troggle.settings as settings
-from troggle.core.models.logbooks import LogbookEntry, PersonLogEntry
+from troggle.core.models.logbooks import LogbookEntry, PersonLogEntry, QM
from troggle.core.models.survex import SurvexBlock, SurvexFile
from troggle.core.models.troggle import Expedition, Person
from troggle.core.models.wallets import Wallet
@@ -144,6 +144,9 @@ class Expeditions_jsonListView(ListView):
template_name = "core/expeditions_json_list.html"
model = Expedition
+class QMs_jsonListView(ListView):
+ template_name = "core/QMs_json_list.html"
+ model = QM
def person(
request,