TypeError: __template__() takes exactly 1 argument (3 given)