0.0.9 section view
This commit is contained in:
@@ -19,14 +19,11 @@ def MainPage(request):
|
||||
|
||||
page = StaticPage.objects.get(url='main')
|
||||
|
||||
from ServicesApp.funcs import get_sections
|
||||
sections = get_sections()
|
||||
# from ArticlesApp.models import ArticleModel
|
||||
# arts = ArticleModel.objects.filter(enable=True).order_by('-createDT')[:4]
|
||||
|
||||
Dict = {
|
||||
'page': page,
|
||||
'sections': sections
|
||||
# 'articles': arts,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user