#1604: FormField.convert_post_data() bug ----------------------------+----------------------------------------------- Reporter: anonymous | Owner: adrian Type: defect | Status: new Priority: normal | Milestone: Component: Core framework | Version: magic-removal Severity: normal | Keywords: ----------------------------+----------------------------------------------- In FormField.convert_post_data(), it is possible to set a new entry instead of replacing the old one when self.field_name != self.get_member_name() (for instance in foreign keys). The required change is from d = new_data.getlist(self.field_name) to d = new_data.pop(self.field_name) George
-- Ticket URL: <http://code.djangoproject.com/ticket/1604> Django <http://code.djangoproject.org/> The web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates -~----------~----~----~----~------~----~------~--~---