src/p4l/config.py.tmpl
changeset 119 ece69ca3ac24
parent 113 c05567404888
child 121 0d2a35462576
equal deleted inserted replaced
118:d33a072d974b 119:ece69ca3ac24
    23     }
    23     }
    24 }
    24 }
    25 
    25 
    26 # Hosts/domain names that are valid for this site; required if DEBUG is False
    26 # Hosts/domain names that are valid for this site; required if DEBUG is False
    27 # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
    27 # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
    28 ALLOWED_HOSTS = []
    28 ALLOWED_HOSTS = ["*"]
    29 
    29 
    30 # Local time zone for this installation. Choices can be found here:
    30 # Local time zone for this installation. Choices can be found here:
    31 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
    31 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
    32 # although not all choices may be available on all operating systems.
    32 # although not all choices may be available on all operating systems.
    33 # In a Windows environment this must be set to your system time zone.
    33 # In a Windows environment this must be set to your system time zone.
   141         'URL': 'http://127.0.0.1:9200/',
   141         'URL': 'http://127.0.0.1:9200/',
   142         'INDEX_NAME': 'p4l',
   142         'INDEX_NAME': 'p4l',
   143     },
   143     },
   144 }
   144 }
   145 
   145 
       
   146 REALTIME_INDEXING = True
       
   147 
   146 NB_RECORDS_BY_PAGE = 20
   148 NB_RECORDS_BY_PAGE = 20
   147 SPARQL_QUERY_ENDPOINT = "http://localhost:8080/openrdf-sesame/repositories/plan4learning"
   149 SPARQL_QUERY_ENDPOINT = "http://localhost:8080/openrdf-sesame/repositories/plan4learning"
   148 
   150 
   149 
   151