From: Guillaume Pellerin Date: Tue, 10 May 2016 13:38:22 +0000 (+0200) Subject: increase post per page X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=704e44cb44a92433281f4c8cbe560f6724991689;p=mezzo.git increase post per page --- diff --git a/app/local_settings.py b/app/local_settings.py index 5f6713e2..b44df967 100644 --- a/app/local_settings.py +++ b/app/local_settings.py @@ -98,6 +98,7 @@ warnings.filterwarnings( 'ignore', r"DateTimeField .* received a naive datetime", RuntimeWarning, r'django\.db\.models\.fields') +EVENT_SLUG = 'events' EVENT_GOOGLE_MAPS_DOMAIN = 'maps.google.fr' EVENT_PER_PAGE = 50 EVENT_USE_FEATURED_IMAGE = True @@ -110,3 +111,5 @@ SLUGIFY = 'django.template.defaultfilters.slugify' HOME_FEATURED_ID = 1 BREAKING_NEWS_FEATURED_ID = 4 + +BLOG_POST_PER_PAGE = 30 diff --git a/app/settings.py b/app/settings.py index e48f9232..cf39c4a5 100644 --- a/app/settings.py +++ b/app/settings.py @@ -130,8 +130,6 @@ FILE_UPLOAD_PERMISSIONS = 0o644 # MAX_UPLOAD_SIZE = 429916160 -EVENT_SLUG = 'events' - ############# # DATABASES # #############