Re: ModelForm has no model class specified.

2017-04-05 Thread Daniel Roseman
; > 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

ModelForm has no model class specified.

2017-04-04 Thread Matthew Pava
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

ModelForm has no model class specified

2016-01-18 Thread walukagga patrick
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:

ModelForm has no model class specified. Request Method:

2016-01-18 Thread walukagga patrick
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