1. Jesper Noehr
  2. django-piston
  3. Issues
Issue #157 open

list_fields does not work anymore since changeset/c4b2d21db51a

Christian Klein
created an issue

Since Changeset changeset/c4b2d21db51a list_fields does not work anymore for a model bound BaseHandler.

Instead of the fields mentioned in attribute list_fields, the fields from the attribute fields are used for serialization.

Comments (3)

  1. Jesper Noehr repo owner
    • changed status to open

    Yes, as the description of that changeset says, it breaks known behavior.

    But we need to, otherwise it's simply impossible to achieve what we were trying here. It would use 'fields' from the top handler, not the model that was later included, so it would look pretty screwy.

  2. Log in to comment