Remove some comments from limits views

This commit is contained in:
2022-12-18 16:37:27 +00:00
parent 3a39181261
commit f4772a3c7d

View File

@@ -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}