1. Jesper Noehr
  2. django-piston
  3. Issues
Issue #75 new

Default read method doesn't pay attention to model inheritance

Mike Beachy
created an issue

The default read method doesn't recognize a kwarg that is the primary key on a parent table, it only recognizes the "parent_ptr" field as the primary key. (The result being that a list of items is returned instead of a single item.)

See http://bitbucket.org/mbeachy/django-piston/changeset/f5b4501d645d/ for master, http://bitbucket.org/mbeachy/django-piston/changeset/99f68c14671d/ for 0.2.2.

Only minimal testing has been done on these changes.

Comments (0)

  1. Log in to comment