Hi My requirement is
1)User adds postcode to form 2)I call external api with postcode to get details of the postcode,local authority,MP etc 3) save this data into another model My question is what is the correct pattern for doing this? Where should I call the api? Should this be done before the user form is saved(is_valid)? What if the api goes down? How to handle that gracefully? Thank you Chris -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@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/CACQBJYWv7Oa-h-JHXXDKKitHv-p%3DdL%2B--eBY0kux5MqLoKnuJQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.