[Fixed]-Django: How to populate value into form template?

1👍

check this example on django docs

article = Article.objects.get(pk=1)
article.headline
'My headline'
form = ArticleForm(instance=article)

form['headline'].value()
'Initial headline'

Leave a comment