#8651: Deserializer does not allow for 0 based primary keys on a foreign keyed table ---------------------------+------------------------------------------------ Reporter: chesnutd | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 1 | ---------------------------+------------------------------------------------ The deserializer in core/serializers/python does not take into account that you can have a foreign key values of zero. The statement:
if field_value: It should be changed to if field_value is not None: I've included that patch -- Ticket URL: <http://code.djangoproject.com/ticket/8651> Django Code <http://code.djangoproject.com/> 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
