updated to work with django 1.6
Merge pull request #9 from agiliq/update_leave_tracker

updated to work with django 1.6