django forms.form initial data code example Example: initial form form = MyForm(initial={'name': 'Peter'})