python django.core.exceptions.ImproperlyConfigured ModelForm fields exclude

Publicado el: 20 November 2016
en el canal de: ATOM
1,082
4

python django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is prohibited
Fix:
class MyAdminForm forms.ModelForm :
class Meta:
model = MyModel
fields = "__all__"

Python Tutorials :   / pythontutori.  .
Please Like this Page to get Latest Python, Machine Learning and Artificial intelligence Tutorials

If you enjoy these videos and would like to support my channel, I would greatly appreciate any assistance.
https://www.paypal.me/tutorialdonation/1

Thanks


En esta página del sitio puede ver el video en línea python django.core.exceptions.ImproperlyConfigured ModelForm fields exclude de Duración hora minuto segunda en buena calidad , que subió el usuario ATOM 20 November 2016, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,082 veces y le gustó 4 a los espectadores. Disfruta viendo!