0.10.2 mail alert by new routes
This commit is contained in:
@@ -230,7 +230,7 @@ def create_or_change_route_ajax(request, route_id=None):
|
||||
return JsonResponse({'html': html}, status=400)
|
||||
|
||||
obj = form.save(commit=False)
|
||||
if 'owner_type' in data:
|
||||
if 'owner_type' in data and data['owner_type']:
|
||||
obj.owner_type = data['owner_type']
|
||||
|
||||
if obj.from_address_point:
|
||||
|
||||
Reference in New Issue
Block a user