0.7.80
FAQ admin
This commit is contained in:
@@ -45,9 +45,10 @@ def get_articles_block_ajax(request):
|
||||
|
||||
except Exception as e:
|
||||
|
||||
|
||||
errors_Dict = {
|
||||
'errors': {
|
||||
'all__': f'ошибка в запросе = {str(e)}'
|
||||
'all__': f'{_("ошибка в запросе")} = {str(e)}'
|
||||
}
|
||||
}
|
||||
return JsonResponse(errors_Dict, status=400)
|
||||
Reference in New Issue
Block a user