Rename trade action title
This commit is contained in:
parent
a18572ebda
commit
05f94e6e93
|
@ -21,8 +21,8 @@ log = logs.get_logger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class TradeAction(LoginRequiredMixin, OTPRequiredMixin, ObjectRead):
|
class TradeAction(LoginRequiredMixin, OTPRequiredMixin, ObjectRead):
|
||||||
context_object_name_singular = "position"
|
context_object_name_singular = "trade"
|
||||||
context_object_name = "positions"
|
context_object_name = "trades"
|
||||||
|
|
||||||
detail_url_name = "trade_action"
|
detail_url_name = "trade_action"
|
||||||
detail_url_args = ["type", "account_id", "trade_id"]
|
detail_url_args = ["type", "account_id", "trade_id"]
|
||||||
|
|
Loading…
Reference in New Issue