Changes between Version 1 and Version 2 of Ticket #5069, comment 3


Ignore:
Timestamp:
Feb 10, 2020, 1:04:10 PM (4 years ago)
Author:
kqhwejhgqwhje

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5069, comment 3

    v1 v2  
    11{{{Person(request.POST)}}} isn't the same as {{{Person(initial=request.POST)}}}
    22
    3 If our model has two fields
     3If our form has two fields
    44{{{
    55#!div style="font-size: 80%"
     
    88class Person(newforms.form):
    99    birthday = forms.DateField( widget=utils.widgets.SelectDateWidget())
    10     name = models.CharField(max_length=80)
     10    name = forms.CharField(max_length=80)
    1111  }}}
    1212}}}
Back to Top