src/p4l/config.py.tmpl
changeset 119 ece69ca3ac24
parent 113 c05567404888
child 121 0d2a35462576
--- a/src/p4l/config.py.tmpl	Wed Sep 25 23:22:29 2013 +0200
+++ b/src/p4l/config.py.tmpl	Thu Sep 26 15:24:41 2013 +0200
@@ -25,7 +25,7 @@
 
 # Hosts/domain names that are valid for this site; required if DEBUG is False
 # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = ["*"]
 
 # Local time zone for this installation. Choices can be found here:
 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
@@ -143,6 +143,8 @@
     },
 }
 
+REALTIME_INDEXING = True
+
 NB_RECORDS_BY_PAGE = 20
 SPARQL_QUERY_ENDPOINT = "http://localhost:8080/openrdf-sesame/repositories/plan4learning"