mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove debug message
This commit is contained in:
parent
59aca2791a
commit
52fc698b51
@ -775,6 +775,9 @@ class SettingsView(TemplateView):
|
|||||||
|
|
||||||
|
|
||||||
class CurrencyRefreshView(RedirectView):
|
class CurrencyRefreshView(RedirectView):
|
||||||
|
"""
|
||||||
|
POST endpoint to refresh / update exchange rates
|
||||||
|
"""
|
||||||
|
|
||||||
url = reverse_lazy("settings-currencies")
|
url = reverse_lazy("settings-currencies")
|
||||||
|
|
||||||
@ -783,8 +786,6 @@ class CurrencyRefreshView(RedirectView):
|
|||||||
On a POST request we will attempt to refresh the exchange rates
|
On a POST request we will attempt to refresh the exchange rates
|
||||||
"""
|
"""
|
||||||
|
|
||||||
print("POST!")
|
|
||||||
|
|
||||||
# Will block for a little bit
|
# Will block for a little bit
|
||||||
InvenTree.tasks.update_exchange_rates()
|
InvenTree.tasks.update_exchange_rates()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user