Remove some comments from limits views

Mark Veidemanis 1 year ago
parent 3a39181261
commit f4772a3c7d
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -19,7 +19,6 @@ log = logs.get_logger(__name__)
# Trend directions
class TrendDirectionList(LoginRequiredMixin, ObjectList):
list_template = "partials/trend-direction-list.html"
# model = TrendDirection
page_title = "List of trend directions for a strategy."
page_subtitle = None
@ -29,8 +28,6 @@ class TrendDirectionList(LoginRequiredMixin, ObjectList):
list_url_name = "trenddirections"
list_url_args = ["type", "strategy_id"]
# submit_url_name = "trenddirection_create"
def get_queryset(self, **kwargs):
strategy_id = kwargs.get("strategy_id", None)
self.extra_context = {"strategy_id": strategy_id}

Loading…
Cancel
Save