src/p4l/config.py.tmpl
changeset 161 216b3f9582aa
parent 153 50f01260eef4
child 162 5fe64e9de88b
--- a/src/p4l/config.py.tmpl	Tue Dec 03 13:54:30 2013 +0100
+++ b/src/p4l/config.py.tmpl	Tue Dec 03 20:55:04 2013 +0100
@@ -161,6 +161,9 @@
 
 # pagination of the list of record
 NB_RECORDS_BY_PAGE = 20
+#some control on the pagination appareance
+PAGINATOR_VISIBLE_RANGE = 5 #number of pages
+PAGINATOR_START_RANGE = 2 #number of pages kept at the beggining and at the end of the range
 
 # url of the sesame repository containing all the rdf referentials
 SPARQL_QUERY_ENDPOINT = "http://localhost:8080/openrdf-sesame/repositories/plan4learning"
@@ -172,3 +175,4 @@
     'env' : {'PYTHONPATH': '/Users/ymh/dev/venvs/p4l/lib/python2.7/site-packages'}
 }
 
+