0.12.52 subscribe page w dynamically load

This commit is contained in:
SDE
2024-05-07 15:01:13 +03:00
parent b374e7aeca
commit 8ed567496b
3 changed files with 16 additions and 15 deletions

View File

@@ -42,8 +42,9 @@ def get_profile_page_content_html(request, page_name, data):
elif page_name == 'support':
return get_profile_support_page_content_html(request, data)
elif page_name == 'my_subscribe':
from SubscribesApp.funcs import get_profile_subscribe_page_content_html
return get_profile_subscribe_page_content_html(request)
from SubscribesApp.funcs import get_profile_subscribe_page_content_Dict
res = get_profile_subscribe_page_content_Dict(request)
return res['html']
elif page_name == 'change_profile':
return get_profile_change_page_content_html(request)
elif page_name == 'dashboard':