Django basic model handling.
Support django 1.5.
Merge branch 'django_basic_model_handling'