make it compatible with django1.6
add .gitignore