0.0.13 services for section
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user