0.0.13 services for section

This commit is contained in:
SDE
2023-11-26 20:10:43 +03:00
parent f39cf990c5
commit eb55fe1e41

View File

@@ -38,11 +38,14 @@ def get_content_for_section_ajax(request):
section = Section.objects.get(url=data['section_url'])
services = section.rel_services_for_section.filter(enable=True).order_by('order')
from .funcs import get_sections
Dict = {
'cur_section': section,
'sections': get_sections(),
'services': services
}
html = render_to_string('pages/content/c_projectiing_section.html', Dict, request=request)