Commit 1fa579607d821d6391ec9e2b10bd69351679b3a7
1 parent
539076bb
Exists in
master
and in
39 other branches
Setting some default settings
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
src/colab/custom_settings.py
| ... | ... | @@ -67,7 +67,7 @@ HAYSTACK_CUSTOM_HIGHLIGHTER = 'colab.utils.highlighting.ColabHighlighter' |
| 67 | 67 | HAYSTACK_CONNECTIONS = { |
| 68 | 68 | 'default': { |
| 69 | 69 | 'ENGINE': 'haystack.backends.solr_backend.SolrEngine', |
| 70 | - 'URL': os.environ.get('COLAB_SOLR_URL'), | |
| 70 | + 'URL': os.environ.get('COLAB_SOLR_URL', 'http://localhost:8983/solr'), | |
| 71 | 71 | } |
| 72 | 72 | } |
| 73 | 73 | |
| ... | ... | @@ -193,7 +193,9 @@ LOGGING = { |
| 193 | 193 | } |
| 194 | 194 | |
| 195 | 195 | COLAB_FROM_ADDRESS = '"Colab Interlegis" <noreply@interlegis.leg.br>' |
| 196 | -SERVER_EMAIL = EMAIL_HOST_USER = COLAB_FROM_ADDRESS | |
| 196 | +SERVER_EMAIL = COLAB_FROM_ADDRESS | |
| 197 | +EMAIL_HOST = 'smtp.interlegis.leg.br' | |
| 198 | +EMAIL_PORT = 25 | |
| 197 | 199 | |
| 198 | 200 | TEMPLATE_CONTEXT_PROCESSORS = ( |
| 199 | 201 | 'django.contrib.auth.context_processors.auth', | ... | ... |