Update django class snippet, remove decorator.