1.3.6 add unanswered_msgs_count to all responses
This commit is contained in:
@@ -13,7 +13,7 @@ from django.template.loader import render_to_string
|
||||
from django.urls import reverse
|
||||
from django.db.models import Q
|
||||
import json
|
||||
from GeneralApp.funcs import get_inter_http_respose
|
||||
from GeneralApp.funcs import get_inter_http_response
|
||||
from GeneralApp.funcs import get_and_set_lang
|
||||
|
||||
def get_address_point_ajax(request):
|
||||
@@ -68,6 +68,8 @@ def get_address_point_ajax(request):
|
||||
'res_search_list': html
|
||||
}
|
||||
|
||||
from GeneralApp.funcs import get_add_to_ajax_response_Dict
|
||||
res_Dict.update(get_add_to_ajax_response_Dict(request.user))
|
||||
return JsonResponse(res_Dict)
|
||||
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user