little modification of htmldjango judgement rule