python django.core.exceptions.ImproperlyConfigured ModelForm fields exclude

Published: 20 November 2016
on channel: 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


On this page of the site you can watch the video online python django.core.exceptions.ImproperlyConfigured ModelForm fields exclude with a duration of hours minute second in good quality, which was uploaded by the user ATOM 20 November 2016, share the link with friends and acquaintances, this video has already been watched 1,082 times on youtube and it was liked by 4 viewers. Enjoy your viewing!