python django.core.exceptions.ImproperlyConfigured ModelForm fields exclude

Veröffentlicht am: 20 November 2016
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video python django.core.exceptions.ImproperlyConfigured ModelForm fields exclude mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer ATOM 20 November 2016 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,082 Mal angesehen und es wurde von 4 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!