来源:https://stackoverflow.com/questions/52789976/django-add-extra-attributes-to-form-fields-generated-by-updateview 标签 django django-models django-forms django-templates django-views