;
> inventory_formset = InventoryFormset(request.POST or None,
> initial=[{"part": default_part}])
>
>
>
> View B uses just the form:
>
>
>
> form = InventoryTransactionForm(
>
> request.POST or None,
> instance=inve
neitem, prefix="inventory",
create_mode=False
)
When I load View B, I get this exception:
ModelForm has no model class specified.
Everything works fine in View A.
Any ideas, thoughts, or suggestions?
Thank you,
Matthew
--
You received this message because you are subscribed to t
hon
course/ms-django/music_album/Album/views.py" in artistform
10. form = ArtistForm()
File "/usr/local/lib/python2.7/dist-packages/django/forms/models.py" in
__init__
313. raise ValueError('ModelForm has no model class
specified.')
Exception Type:
Am trying to create forms using models but i cant view forms because of
ModelForm has no model class specified.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
4 matches
Mail list logo