create_or_change_route_ajax return route_id
This commit is contained in:
SDE
2023-11-30 14:06:57 +03:00
parent fb665b409c
commit fbfdec2380
13 changed files with 129 additions and 49 deletions

View File

@@ -240,6 +240,8 @@ def create_or_change_route_ajax(request, route_id=None):
obj.owner = request.user
obj.save()
route_id = obj.id
routes_Dict = get_routes_Dict(request.user)
if 'errors' in routes_Dict: