0.12.26 get_phone_valid_error change

This commit is contained in:
SDE
2024-02-21 17:12:45 +03:00
parent abb0d488eb
commit dd8a8ddd53
2 changed files with 4 additions and 2 deletions

View File

@@ -516,9 +516,11 @@ def create_ticket_ajax(request):
except Exception as e:
msg = f'{_("ошибка в запросе")} = {str(e)}'
errors_Dict = {
'errors': {
'all__': f'{_("ошибка в запросе")} = {str(e)}'
'all__': msg
}
}
Dict = {'form': errors_Dict}