123456789101112131415161718192021222324252627282930313233343536373839404142 |
- """
- For more information on this file, see
- https://docs.djangoproject.com/en/1.7/topics/settings/
- For the full list of settings and their values, see
- https://docs.djangoproject.com/en/1.7/ref/settings/
- """
- from iepy.webui.webui.settings import *
- IEPY_VERSION = '{IEPY_VERSION}'
- IEPY_LANG = '{LANG}'
- SECRET_KEY = '{SECRET_KEY}'
- DEBUG = True
- TEMPLATE_DEBUG = True
- # Database
- # https://docs.djangoproject.com/en/1.7/ref/settings/#databases
- # DATABASES = {
- # 'default': {
- # 'ENGINE': 'django.db.backends.sqlite3',
- # 'NAME': '/home/python/luojiehua/dl_nlp/iepy-develop/examples/test/test.sqlite',
- # }
- # }
- DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.postgresql_psycopg2',
- 'NAME': 'iepy',
- 'USER': 'postgres',
- 'PASSWORD': 'postgres',
- 'HOST': 'localhost',
- 'PORT': '5432'
- }
- }
- # For changing tokenization options, read here.
- # http://nlp.stanford.edu/nlp/javadoc/javanlp/edu/stanford/nlp/process/PTBTokenizer.html
- # You can use as key any of the "known options" listed on that page, and as value,
- # use True or False (python names) for booleans, or strings when option requires a text
- # CORENLP_TKN_OPTS = {
- # 'latexQuotes': False
- # }
|