python django.core.exceptions.ImproperlyConfigured ModelForm fields exclude

Publicado em: 20 November 2016
no 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


Nesta página do site você pode assistir ao vídeo on-line python django.core.exceptions.ImproperlyConfigured ModelForm fields exclude duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário ATOM 20 November 2016, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,082 vezes e gostou 4 espectadores. Boa visualização!