Skip to content

Writable nested serializer with existing objects using Django Rest Framework 3.2.2 #3312

Closed

Description

@arw180

I made a SO post about this here: http://stackoverflow.com/questions/32123148/writable-nested-serializer-with-existing-objects-using-django-rest-framework-3-2

Even if it turns out nothing is broken, I think a documentation update would be helpful for this case (a nested write that also uses existing objects). In addition, it seems like the source attribute isn't respected by the SlugRelatedField serializer, at least on writes.

Activity

  1. xordoquy commented on Aug 20, 2015

    @xordoquy
    Contributor

    The discussion group is the best place to take this discussion and other usage questions. Thanks!
    Meanwhile, you should have a look at validator and how to remove them to allow the serializer to validate correctly.
    Please note that there are so many possible use cases we can't provide examples for all of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions