diff --git a/core/templates/partials/profit-info.html b/core/templates/partials/profit-info.html deleted file mode 100644 index 6de3255..0000000 --- a/core/templates/partials/profit-info.html +++ /dev/null @@ -1,27 +0,0 @@ -{% load cache %} -{% load cachalot cache %} -{% get_last_invalidation 'core.Platform' as last %} -{% include 'mixins/partials/notify.html' %} -{# cache 600 objects_platform_profit request.user.id object_list type last #} -{% for platform_name, profit_map in object_list.items %} -

{{ platform_name }}

- - - - - {% for item in profit_map.values %} - - - - {% endfor %} - -
id
{{ item }} -
-{% endfor %} -{# endcache #} \ No newline at end of file diff --git a/core/views/profit.py b/core/views/profit.py index ecaa11f..7b25012 100644 --- a/core/views/profit.py +++ b/core/views/profit.py @@ -14,8 +14,6 @@ log = logs.get_logger(__name__) class Profit(LoginRequiredMixin, OTPRequiredMixin, ObjectRead): context_object_name_singular = "profit" context_object_name = "profit" - page_title = "Profit info (USD)" - # detail_template = "partials/profit-info.html" def get_object(self, **kwargs): res = synchronize_async_helper(