Django basic model handling.
Support django 1.5.