diff --git a/app/urls.py b/app/urls.py index 34f7a35..ff2c5c6 100644 --- a/app/urls.py +++ b/app/urls.py @@ -28,6 +28,7 @@ from core.views import ( hooks, limits, positions, + profit, signals, strategies, trades, @@ -137,6 +138,7 @@ urlpatterns = [ trades.TradeDeleteAll.as_view(), name="trade_delete_all", ), + path("profit//", profit.Profit.as_view(), name="profit"), path("positions//", positions.Positions.as_view(), name="positions"), path( "positions///", diff --git a/core/templates/base.html b/core/templates/base.html index c11a0fc..19130c9 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -202,6 +202,18 @@ Home {% if user.is_authenticated %} + + + - {% endif %} - {% if user.is_authenticated %}