Remove some comments from limits views

This commit is contained in:
Mark Veidemanis 2022-12-18 16:37:27 +00:00
parent 3a39181261
commit f4772a3c7d
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 0 additions and 3 deletions

View File

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