0.7.41
main page cut count articles
This commit is contained in:
@@ -38,7 +38,7 @@ def MainPage(request):
|
||||
page = StaticPage.objects.get(url='main')
|
||||
|
||||
from ArticlesApp.models import ArticleModel
|
||||
arts = ArticleModel.objects.filter(enable=True).order_by('-modifiedDT')
|
||||
arts = ArticleModel.objects.filter(enable=True).order_by('-createDT')[:4]
|
||||
|
||||
Dict = {
|
||||
'page': page,
|
||||
|
||||
@@ -221,7 +221,7 @@ CKEDITOR_JQUERY_URL = 'https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery
|
||||
CKEDITOR_CONFIGS = {
|
||||
'default': {
|
||||
'height': 291,
|
||||
'width': '89vw',
|
||||
'width': '70vw',
|
||||
# 'filebrowserWindowHeight': 600,
|
||||
# 'filebrowserWindowWidth': "100%",
|
||||
'toolbar': 'Custom',
|
||||
|
||||
Reference in New Issue
Block a user