0.0.24 my routes
This commit is contained in:
@@ -149,7 +149,7 @@ def get_profile_my_routes_page_content_html(request):
|
||||
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)
|
||||
html = render_to_string('v2/blocks/b_my_routes.html', routes_Dict, request=request)
|
||||
return html
|
||||
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ def del_route_ajax(request):
|
||||
if 'errors' in routes_Dict:
|
||||
return JsonResponse(routes_Dict, status=400)
|
||||
|
||||
html = render_to_string('blocks/profile/b_my_routes.html', routes_Dict, request=request)
|
||||
html = render_to_string('v2/blocks/b_my_routes.html', routes_Dict, request=request)
|
||||
|
||||
res_Dict = {
|
||||
'html': html
|
||||
@@ -324,7 +324,7 @@ def get_my_routes_ajax(request):
|
||||
routes_Dict.update(user_subscribe.remains_route_adding_options())
|
||||
|
||||
|
||||
html = render_to_string('blocks/profile/b_my_routes.html', routes_Dict, request=request)
|
||||
html = render_to_string('v2/blocks/b_my_routes.html', routes_Dict, request=request)
|
||||
|
||||
res_Dict = {
|
||||
'html': html
|
||||
@@ -457,7 +457,7 @@ def create_or_change_route_ajax(request, route_id=None):
|
||||
html = render_to_string(tpl_form_by_owner_type, Dict, request=request)
|
||||
return JsonResponse({'html': html}, status=400)
|
||||
|
||||
html = render_to_string('blocks/profile/b_my_routes.html', routes_Dict, request=request)
|
||||
html = render_to_string('v2/blocks/b_my_routes.html', routes_Dict, request=request)
|
||||
|
||||
res_Dict = {
|
||||
'html': html,
|
||||
|
||||
Reference in New Issue
Block a user