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')
|
page = StaticPage.objects.get(url='main')
|
||||||
|
|
||||||
from ArticlesApp.models import ArticleModel
|
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 = {
|
Dict = {
|
||||||
'page': page,
|
'page': page,
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ CKEDITOR_JQUERY_URL = 'https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery
|
|||||||
CKEDITOR_CONFIGS = {
|
CKEDITOR_CONFIGS = {
|
||||||
'default': {
|
'default': {
|
||||||
'height': 291,
|
'height': 291,
|
||||||
'width': '89vw',
|
'width': '70vw',
|
||||||
# 'filebrowserWindowHeight': 600,
|
# 'filebrowserWindowHeight': 600,
|
||||||
# 'filebrowserWindowWidth': "100%",
|
# 'filebrowserWindowWidth': "100%",
|
||||||
'toolbar': 'Custom',
|
'toolbar': 'Custom',
|
||||||
|
|||||||
Reference in New Issue
Block a user