0.0.18 bg_color for block
This commit is contained in:
@@ -10,14 +10,16 @@ from GeneralApp.funcs import get_inter_http_respose
|
||||
def section_view(request, url):
|
||||
|
||||
try:
|
||||
page = Section.objects.get(url=url)
|
||||
section = Section.objects.get(url=url)
|
||||
|
||||
|
||||
# from ArticlesApp.models import ArticleModel
|
||||
# arts = ArticleModel.objects.filter(enable=True).order_by('-createDT')[:4]
|
||||
services = section.rel_services_for_section.filter(enable=True).order_by('order')
|
||||
|
||||
Dict = {
|
||||
'page': page,
|
||||
'page': section,
|
||||
'services': services,
|
||||
# 'articles': arts,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user