Django implementation of LogDistrict