[Python] What is a nested class "Meta" inside a forms.ModelForm class? [closed]

Discussão em 'Python' iniciado por Stack, Abril 12, 2025.

  1. Stack

    Stack Membro Participativo

    I want to ask what is class Meta in the next example:

    class EmpleadoForm(forms.ModelForm):
    class Meta:
    model = Empleado
    fields = ['nombre', 'apellido', 'numero_legajo', 'sector', 'es_jefe']


    I want to know when, where, how use this.

    Continue reading...

Compartilhe esta Página