Added report_pk to reports api endpoint>

This commit is contained in:
kououken 2019-02-05 12:48:49 -08:00
parent 15d50a7c50
commit 1ec02e1d22
2 changed files with 1 additions and 0 deletions

View file

@ -139,6 +139,7 @@ def reports(request):
queryset = Report.objects.all() queryset = Report.objects.all()
for i in queryset: for i in queryset:
data = { data = {
"report_pk": i.id,
"title": i.title, "title": i.title,
"date_created": i.date_created, "date_created": i.date_created,
"submitted": i.submitted, "submitted": i.submitted,

Binary file not shown.