djangosnippets.org: Latest snippets tagged with 'form_for_class'https://djangosnippets.org/tags/form_for_class/2008-01-01T13:38:16-06:00newforms and ModelForm2008-01-01T13:38:16-06:00danfairshttps://djangosnippets.org/snippets/530/<p>I noticed that form_for_* in newforms now carry deprecation warnings. This code is a minimal demonstration of how to use ModelForm as a replacement.
</p>
<p>Full information can be found on <a href="http://www.stereoplex.com/two-voices/django-modelform-and-newforms">Stereoplex</a>. Hope this helps you.
</p>
Freely redistributable