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

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

Sending forms and capturing screenshots with CasperJS

I had to make some GET/POST request on a website without an API, and then capture screenshot of the result. I was wondering about using Selenium, but one of the requirement was quick and simple installation on the production. My first choice was PhantomJS, but final (after better searching) I decide

01 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: