Django automatically renders the {{form}} tag in the html file into a corresponding tag < label > and input box < input >. If you want to decorate with CSS, how should the selector choose? Using input as the name of the selector directly has no effect.