Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit 4ca2adf

Browse files
changes made for the brazilian users in the api to show their local currency data
1 parent 868db8b commit 4ca2adf

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
51 Bytes
Binary file not shown.

Profile/views.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,11 @@ def get(self, request, *args):
566566
elif current_user_country.country == "Russia":
567567
currencyInfo = "USD - RUB"
568568
currencyRate = 84
569+
570+
elif current_user_country.country == "Brasil":
571+
currencyInfo = "USD - R$"
572+
currencyRate = 5
573+
569574
else:
570575
currencyInfo = "USD - USD"
571576
currencyRate = 1

0 commit comments

Comments
 (0)