Changes between Version 1 and Version 2 of Ticket #5069, comment 3
- Timestamp:
- Feb 10, 2020, 1:04:10 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5069, comment 3
v1 v2 1 1 {{{Person(request.POST)}}} isn't the same as {{{Person(initial=request.POST)}}} 2 2 3 If our modelhas two fields3 If our form has two fields 4 4 {{{ 5 5 #!div style="font-size: 80%" … … 8 8 class Person(newforms.form): 9 9 birthday = forms.DateField( widget=utils.widgets.SelectDateWidget()) 10 name = models.CharField(max_length=80)10 name = forms.CharField(max_length=80) 11 11 }}} 12 12 }}}