{% with address_form_lines=address_form.i18n_fields_order %} |
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5f44cebc-915e-4c08-b394-13efc4ca5c0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'company_name'
Request Method: | GET |
---|---|
Request URL: | http://localhost:8000/checkout/shipping-address/ |
Django Version: | 2.0.3 |
Exception Type: | KeyError |
Exception Value: | 'company_name' |
Exception Location: | C:\Users\rusla\Documents\GitHub\zahial\saleor\saleor\account\i18n.py in _convert_to_bound_fields, line 199 |
In template C:\Users\rusla\Documents\GitHub\zahial\saleor\templates\account\snippets\address_form.html
, error at line 3
1 | {% load bootstrap_field from bootstrap4 %} |
---|---|
2 | <div class="i18n-address"> |
3 | {% with address_form_lines=address_form.i18n_fields_order %} |
You seem to have pasted a line from your template, not the error you are getting, no way of helping you there.Please post the actual error you are getting
On Sat, Apr 7, 2018 at 2:00 PM, ruslan.aldar <ruslan...@gmail.com> wrote:
hello.I'm trying to build an local merchant website. So I don't know how to edit address form for Saleor. It uses google i18n address form.and when i'm trying to delete some fields like company_name, city city_area, postal_code, country, country_area, i'm having problem.on the page : http://localhost:8000/checkout/shipping-address/i'm gettingthis kind of error.
{% with address_form_lines=address_form.i18n_fields_order %}
Making migration, or deleting db, doesn't solve the problem and I don't know why it's still requesting the field which is doesn't exist! I even tried deleting DB, migrating again!
If someone knows it please tell me.Thank you.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.