python django.core.exceptions.ImproperlyConfigured ModelForm fields exclude
Автор: ATOM
Загружено: 2016-11-20
Просмотров: 1113
Описание:
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
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: