forked from expo/troggle
Adding QM JSON export
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user