Remove some comments from limits views
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user