diff -r 470ea7806537 -r 216b3f9582aa src/p4l/settings.py --- a/src/p4l/settings.py Tue Dec 03 13:54:30 2013 +0100 +++ b/src/p4l/settings.py Tue Dec 03 20:55:04 2013 +0100 @@ -212,6 +212,10 @@ } NB_RECORDS_BY_PAGE = 20 +#some control on the pagination appareance +PAGINATOR_VISIBLE_RANGE = 5 #number of visible pages +PAGINATOR_START_RANGE = 2 #number of pages kept at the beggining and at the end of the range + HAYSTACK_CONNECTIONS = { 'default': { @@ -285,6 +289,7 @@ SCRIPT_WAIT = .250 SCRIPT_MAX_WAIT = 40 # * SCRIPT_WAIT = 10 sec + from config import * # @UnusedWildImport if not "SRC_BASE_URL" in locals():