On Tue, Oct 18, 2011 at 2:00 PM, Jeff Heard <jefferson.r.he...@gmail.com> wrote: > But I want to be able to invalidate my form if geocoding fails... Can I > still do that in the save method? >
No, save() is not part of validation. However, it is not hard to combine the two: In the clean() method, calculate the geocoding point and store it in an attribute of the form. In the save() method, populate the field as shown by Daniel, but use the stored attribute value. Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.