Commits

mickt  committed 39acdd5

fix finding of country in changed_checkout

  • Participants
  • Parent commits 18528fe

Comments (0)

Files changed (1)

File lfs/checkout/views.py

         country_iso = request.POST.get("invoice-country", None)
 
     if country_iso is not None:
-        country = Country.objects.get(code=country_iso)
+        country = Country.objects.get(code=country_iso.lower())
         if customer.selected_shipping_address:
             customer.selected_shipping_address.country = country
             customer.selected_shipping_address.save()