Skip to content

Commit

Permalink
[Fixes #10615] Implement fallback language for PyCSW to avoid warnings (
Browse files Browse the repository at this point in the history
#10692) (#10702)

* - [Fixes #10615] Implement fallback language for PyCSW to avoid warnings

* update formating

(cherry picked from commit 6e15d4d)

Co-authored-by: NAGGINDA MARTHA <[email protected]>
  • Loading branch information
github-actions[bot] and marthamareal authored Feb 28, 2023
1 parent 938d648 commit 2a4b874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@
"home": ".",
"url": CATALOGUE["default"]["URL"],
"encoding": "UTF-8",
"language": LANGUAGE_CODE,
"language": LANGUAGE_CODE if LANGUAGE_CODE in ("en", "fr", "el") else "en",
"maxrecords": "20",
"pretty_print": "true",
# 'domainquerytype': 'range',
Expand Down

0 comments on commit 2a4b874

Please sign in to comment.