Adjust titles for CRUD panels

This commit is contained in:
2022-12-08 07:20:46 +00:00
parent 0aef440229
commit 312ddb4dc1
2 changed files with 11 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ class PositionAction(LoginRequiredMixin, OTPRequiredMixin, ObjectRead):
detail_template = "partials/position-detail.html"
context_object_name_singular = "position"
context_object_name = "positions"
context_object_name = "position info"
detail_url_name = "position_action"
detail_url_args = ["type", "account_id", "symbol"]