2.1.5 get_routes_Dict fix from\to city v2
This commit is contained in:
@@ -377,7 +377,10 @@ def create_or_change_route_ajax(request, route_id=None):
|
||||
|
||||
if not form.is_valid():
|
||||
form.initial = form.cleaned_data
|
||||
Dict.update({'form': form})
|
||||
Dict.update({
|
||||
'form': form,
|
||||
'owner_type': data['owner_type'],
|
||||
})
|
||||
|
||||
html = render_to_string('blocks/profile/b_create_form_poster.html', Dict, request=request)
|
||||
return JsonResponse({'html': html}, status=400)
|
||||
|
||||
Reference in New Issue
Block a user