Merge pull request #1746 from matmair/human-readable-cur

make currency selection options human-readable
This commit is contained in:
Oliver 2021-07-03 08:40:15 +10:00 committed by GitHub
commit 2b90190230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ def currency_code_mappings():
"""
Returns the current currency choices
"""
return [(a, a) for a in settings.CURRENCIES]
return [(a, CURRENCIES[a].name) for a in settings.CURRENCIES]
def currency_codes():