equal
deleted
inserted
replaced
159 # Control the activation of the real time indexing. |
159 # Control the activation of the real time indexing. |
160 REALTIME_INDEXING = True |
160 REALTIME_INDEXING = True |
161 |
161 |
162 # pagination of the list of record |
162 # pagination of the list of record |
163 NB_RECORDS_BY_PAGE = 20 |
163 NB_RECORDS_BY_PAGE = 20 |
|
164 #some control on the pagination appareance |
|
165 PAGINATOR_VISIBLE_RANGE = 5 #number of pages |
|
166 PAGINATOR_START_RANGE = 2 #number of pages kept at the beggining and at the end of the range |
164 |
167 |
165 # url of the sesame repository containing all the rdf referentials |
168 # url of the sesame repository containing all the rdf referentials |
166 SPARQL_QUERY_ENDPOINT = "http://localhost:8080/openrdf-sesame/repositories/plan4learning" |
169 SPARQL_QUERY_ENDPOINT = "http://localhost:8080/openrdf-sesame/repositories/plan4learning" |
167 |
170 |
168 # cf http://docs.python.org/2/library/subprocess.html#popen-constructor |
171 # cf http://docs.python.org/2/library/subprocess.html#popen-constructor |
170 'args' : [ sys.executable, "manage.py", "dump_record", "--newline", "-j", "/tmp/script_dump.rdf.bz2"], |
173 'args' : [ sys.executable, "manage.py", "dump_record", "--newline", "-j", "/tmp/script_dump.rdf.bz2"], |
171 'cwd' : "/Users/ymh/dev/workspace/plan4learning/src", |
174 'cwd' : "/Users/ymh/dev/workspace/plan4learning/src", |
172 'env' : {'PYTHONPATH': '/Users/ymh/dev/venvs/p4l/lib/python2.7/site-packages'} |
175 'env' : {'PYTHONPATH': '/Users/ymh/dev/venvs/p4l/lib/python2.7/site-packages'} |
173 } |
176 } |
174 |
177 |
|
178 |