[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 04/24] Make the ITEMS_PER_PAGE settings local.
From: |
Maxime Petazzoni |
Subject: |
[Maposmatic-dev] [PATCH 04/24] Make the ITEMS_PER_PAGE settings local. |
Date: |
Sun, 10 Jan 2010 15:53:58 +0100 |
---
www/settings.py | 2 --
www/settings_local.py-template | 3 +++
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/www/settings.py b/www/settings.py
index adf4fcb..6e46d4f 100644
--- a/www/settings.py
+++ b/www/settings.py
@@ -164,7 +164,5 @@ except KeyError:
LOG.addHandler(_fh)
LOG.info("log restarted.")
-ITEMS_PER_PAGE = 25
-
def has_gis_database():
return GIS_DATABASE_NAME and GIS_DATABASE_NAME != ''
diff --git a/www/settings_local.py-template b/www/settings_local.py-template
index 7806f51..ea58a1c 100644
--- a/www/settings_local.py-template
+++ b/www/settings_local.py-template
@@ -59,3 +59,6 @@ BASE_BOUNDING_BOX = (51.956, -7.838, 41.458, 11.937)
# Maximum length of the bounding box to be rendered. This length is
# checked in both directions (longitude and latitude)
BBOX_MAXIMUM_LENGTH_IN_METERS = 20000
+
+# Number of items displayed per page in the jobs and maps pages
+ITEMS_PER_PAGE = 25
--
1.6.3.3.261.g85c6
- [Maposmatic-dev] [PATCH 01/24] Revamp the jobs and maps pages, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 02/24] Updated PO files for the UI revamp., Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 03/24] Add by-letter maps pagination, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 04/24] Make the ITEMS_PER_PAGE settings local.,
Maxime Petazzoni <=
- [Maposmatic-dev] [PATCH 05/24] Add an 'All' link in the letter selection., Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 06/24] Update translation files, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 07/24] French terminoly improvements, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 08/24] New header background, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 09/24] Complete site-wide UI overhaul., Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 10/24] Updated translations to follow the small changes made during the redesign., Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 11/24] Small typographic fix, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 12/24] Add a link on the header, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 13/24] HTML fixes, Maxime Petazzoni, 2010/01/10
- [Maposmatic-dev] [PATCH 14/24] New automatic suggestion mechanism, Maxime Petazzoni, 2010/01/10