renamed as the analog django decorator