FIxed issues in windows and django 1.7