Skip to content

Commit

Permalink
Added required schema
Browse files Browse the repository at this point in the history
  • Loading branch information
gpkvt committed Jan 29, 2024
1 parent aae5f8a commit b9614df
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 5 additions & 1 deletion fragdenstaat_de/fds_donation/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-03 06:53-0600\n"
"POT-Creation-Date: 2024-01-29 06:01-0600\n"
"PO-Revision-Date: 2022-09-29 13:54+0200\n"
"Last-Translator: Stefan Wehrmeyer <[email protected]>\n"
"Language-Team: \n"
Expand Down Expand Up @@ -240,6 +240,10 @@ msgstr "Sende {count} Opt-In-E-Mails."
msgid "notify shipped and set date"
msgstr ""

#: fragdenstaat_de/fds_donation/admin.py
msgid "export as csv"
msgstr ""

#: fragdenstaat_de/fds_donation/apps.py
msgid "FragDenStaat Donations"
msgstr "FragDenStaat-Spenden"
Expand Down
2 changes: 1 addition & 1 deletion fragdenstaat_de/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ def GEOIP_PATH(self):

ELASTICSEARCH_INDEX_PREFIX = "fragdenstaat_de"
ELASTICSEARCH_DSL = {
"default": {"hosts": "localhost:9200"},
"default": {"hosts": "http://localhost:9200"},
}
ELASTICSEARCH_DSL_SIGNAL_PROCESSOR = "froide.helper.search.CelerySignalProcessor"

Expand Down
4 changes: 3 additions & 1 deletion fragdenstaat_de/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ def TEMPLATES(self):
ELASTICSEARCH_INDEX_PREFIX = "fragdenstaat_de"
ELASTICSEARCH_DSL = {
"default": {
"hosts": env("DJANGO_ELASTICSEARCH_HOSTS", "localhost:9200").split(",")
"hosts": env("DJANGO_ELASTICSEARCH_HOSTS", "http://localhost:9200").split(
","
)
},
}
ELASTICSEARCH_DSL_SIGNAL_PROCESSOR = "froide.helper.search.CelerySignalProcessor"
Expand Down
2 changes: 1 addition & 1 deletion fragdenstaat_de/settings/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ class Test(FragDenStaatBase):
)
ELASTICSEARCH_INDEX_PREFIX = "fds_test"
ELASTICSEARCH_DSL = {
"default": {"hosts": "localhost:9200"},
"default": {"hosts": "http://localhost:9200"},
}
FIXTURE_DIRS = [os.path.join(THEME_ROOT, "..", "tests", "fixtures")]

0 comments on commit b9614df

Please sign in to comment.