Skip to content

Commit ac9578f

Browse files
authored
Added required schema (#453)
1 parent aae5f8a commit ac9578f

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

fragdenstaat_de/fds_donation/locale/de/LC_MESSAGES/django.po

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-02-03 06:53-0600\n"
10+
"POT-Creation-Date: 2024-01-29 06:01-0600\n"
1111
"PO-Revision-Date: 2022-09-29 13:54+0200\n"
1212
"Last-Translator: Stefan Wehrmeyer <[email protected]>\n"
1313
"Language-Team: \n"
@@ -240,6 +240,10 @@ msgstr "Sende {count} Opt-In-E-Mails."
240240
msgid "notify shipped and set date"
241241
msgstr ""
242242

243+
#: fragdenstaat_de/fds_donation/admin.py
244+
msgid "export as csv"
245+
msgstr ""
246+
243247
#: fragdenstaat_de/fds_donation/apps.py
244248
msgid "FragDenStaat Donations"
245249
msgstr "FragDenStaat-Spenden"

fragdenstaat_de/settings/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def GEOIP_PATH(self):
519519

520520
ELASTICSEARCH_INDEX_PREFIX = "fragdenstaat_de"
521521
ELASTICSEARCH_DSL = {
522-
"default": {"hosts": "localhost:9200"},
522+
"default": {"hosts": "http://localhost:9200"},
523523
}
524524
ELASTICSEARCH_DSL_SIGNAL_PROCESSOR = "froide.helper.search.CelerySignalProcessor"
525525

fragdenstaat_de/settings/production.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ def TEMPLATES(self):
204204
ELASTICSEARCH_INDEX_PREFIX = "fragdenstaat_de"
205205
ELASTICSEARCH_DSL = {
206206
"default": {
207-
"hosts": env("DJANGO_ELASTICSEARCH_HOSTS", "localhost:9200").split(",")
207+
"hosts": env("DJANGO_ELASTICSEARCH_HOSTS", "http://localhost:9200").split(
208+
","
209+
)
208210
},
209211
}
210212
ELASTICSEARCH_DSL_SIGNAL_PROCESSOR = "froide.helper.search.CelerySignalProcessor"

fragdenstaat_de/settings/test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ class Test(FragDenStaatBase):
3434
)
3535
ELASTICSEARCH_INDEX_PREFIX = "fds_test"
3636
ELASTICSEARCH_DSL = {
37-
"default": {"hosts": "localhost:9200"},
37+
"default": {"hosts": "http://localhost:9200"},
3838
}
3939
FIXTURE_DIRS = [os.path.join(THEME_ROOT, "..", "tests", "fixtures")]

0 commit comments

Comments
 (0)