Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

104
Views
¿Cómo quitar la etiqueta?

¿Cómo eliminar la etiqueta de MultipleChoiceField en la plantilla?

ingrese la descripción de la imagen aquí

formularios.py:

 class RequirementAddForm(forms.ModelForm): symbol = forms.MultipleChoiceField(required=False, widget=forms.CheckboxSelectMultiple, choices=REQUIREMENTS_CHOICES,) class Meta: model = Requirement fields = ('symbol',)

plantilla.html:

 {{ form }}
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Aquí hay algunas posibles soluciones.

1) Use label="" cuando esté dentro de la definición de su formulario

2) Anule la etiqueta, si está utilizando un formulario heredado y no tiene acceso directo

 def __init__(self, *args, **kwargs): super(FormClass, self).__init__(*args, **kwargs) self.fields['field'].label = ''

Otra opción posible es pasar auto_id=False al formulario

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!