Rename trade action title

This commit is contained in:
Mark Veidemanis 2022-12-08 07:20:46 +00:00
parent a18572ebda
commit 05f94e6e93
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@ log = logs.get_logger(__name__)
class TradeAction(LoginRequiredMixin, OTPRequiredMixin, ObjectRead):
context_object_name_singular = "position"
context_object_name = "positions"
context_object_name_singular = "trade"
context_object_name = "trades"
detail_url_name = "trade_action"
detail_url_args = ["type", "account_id", "trade_id"]