[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 4/6] Make the ITEMS_PER_PAGE settings local.
From: |
Maxime Petazzoni |
Subject: |
[Maposmatic-dev] [PATCH 4/6] Make the ITEMS_PER_PAGE settings local. |
Date: |
Thu, 7 Jan 2010 13:07:42 +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 c0a31db..7abb321 100644
--- a/www/settings.py
+++ b/www/settings.py
@@ -162,7 +162,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 1/6] Revamp the jobs and maps pages, Maxime Petazzoni, 2010/01/07
- [Maposmatic-dev] [PATCH 2/6] Updated PO files for the UI revamp., Maxime Petazzoni, 2010/01/07
- [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, Maxime Petazzoni, 2010/01/07
- [Maposmatic-dev] [PATCH 4/6] Make the ITEMS_PER_PAGE settings local.,
Maxime Petazzoni <=
- [Maposmatic-dev] [PATCH 5/6] Add an 'All' link in the letter selection., Maxime Petazzoni, 2010/01/07
- [Maposmatic-dev] [PATCH 6/6] Update translation files, Maxime Petazzoni, 2010/01/07
- [Maposmatic-dev] [PATCH] French terminoly improvements, Maxime Petazzoni, 2010/01/07
- Re: [Maposmatic-dev] [PATCH] French terminoly improvements, Maxime Petazzoni, 2010/01/07
- Re: [Maposmatic-dev] [PATCH] French terminoly improvements, David MENTRE, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 4/6] Make the ITEMS_PER_PAGE settings local., Maxime Petazzoni, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, David MENTRE, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, Maxime Petazzoni, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, Jeroen van Rijn, 2010/01/07
- Re: [Maposmatic-dev] [PATCH 3/6] Add by-letter maps pagination, Maxime Petazzoni, 2010/01/07