personal web log written by izabeera and dryobates

Bug with saving formsets in Django 1.6

If you have a model that has primary key which is also a foreign key to other model (e.g. case with inherited models), then you get an error while saving formsets built on them. Primary key value isn't converted correctly to python value.

21 Sep 2014 by izabeera

Iza Kartowicz-Stolarska. IT engineer. I work in programming since 2005. During this time I gained wealth of experience in writing web applications... and loved Python and Vim :) I enjoy working with people which have positive attitude to the world. Email: