Added report_pk to reports api endpoint>
This commit is contained in:
parent
15d50a7c50
commit
1ec02e1d22
2 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
|
|
BIN
back/db.sqlite3
BIN
back/db.sqlite3
Binary file not shown.
Loading…
Reference in a new issue