1.1.4 rising and select for routes by subscribe

This commit is contained in:
SDE
2024-06-02 17:07:53 +03:00
parent dbfc39639b
commit 69373925cd
4 changed files with 36 additions and 1 deletions

View File

@@ -134,6 +134,11 @@ def get_profile_my_routes_page_content_html(request):
print(msg)
return msg
from SubscribesApp.funcs import get_cur_user_subscribe
user_subscribe = get_cur_user_subscribe(request.user)
if user_subscribe:
routes_Dict.update(user_subscribe.remains_route_adding_options())
html = render_to_string('blocks/profile/b_my_routes.html', routes_Dict, request=request)
return html