change id to pk as sugguested by django