personal web log written by izabeera and dryobates

django tricks

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

casperjs tricks

Capture screenshot of the content in the frame

Some time ago I had to scrape some data from site, that have many framesets in the html structure.

10 Mar 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:


Tag cloud