Skip to content

Commit

Permalink
fix running auctions api response - make dict in context
Browse files Browse the repository at this point in the history
  • Loading branch information
keshavmohta09 committed May 9, 2023
1 parent dafb6d0 commit 4c3544f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -416,4 +416,4 @@ pip-selfcheck.json
.env


__pycache__/
__pycache__/
Binary file modified properties/__pycache__/views.cpython-39.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion properties/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ def get(self, request):
.prefetch_related("propertygallery_set", "propertydocument_set")
)
serializer = self.OutputSerializer(properties, many=True)
return render(request, "property.html", serializer.data)
return render(request, "property.html", {"auctions": serializer.data})

0 comments on commit 4c3544f

Please sign in to comment.