Ticket #16513: modelforms-example-16513.diff
File modelforms-example-16513.diff, 505 bytes (added by , 13 years ago) |
---|
-
docs/topics/forms/modelforms.txt
184 184 equivalent to this (the only difference being the ``save()`` method, which 185 185 we'll discuss in a moment.):: 186 186 187 from django import forms 188 187 189 class AuthorForm(forms.Form): 188 190 name = forms.CharField(max_length=100) 189 191 title = forms.CharField(max_length=3,