From 8e7c285d605480319f1405568e22208c986189d6 Mon Sep 17 00:00:00 2001 From: Reena Aheer Date: Mon, 3 Apr 2023 11:27:10 +0200 Subject: [PATCH] feature/ add ATM Attribute in update ATM --- apimanager/atms/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apimanager/atms/views.py b/apimanager/atms/views.py index a155f13..57b3ca6 100644 --- a/apimanager/atms/views.py +++ b/apimanager/atms/views.py @@ -253,11 +253,12 @@ class UpdateAtmsView(LoginRequiredMixin, FormView): my_location_categories = result['location_categories'] location_categories_initial = ','.join(my_location_categories) fields['location_categories'].initial = location_categories_initial - my_supported_currencies = result['supported_currencies'] + supported_currencies_initial = ','.join(my_supported_currencies) fields['supported_currencies'].initial = supported_currencies_initial my_supported_languages = result['supported_languages'] + supported_languages_initial = ','.join(my_supported_languages) fields['supported_languages'].initial = supported_languages_initial my_accessibility_features = result['accessibility_features']