SyntaxFix
Write A Post
Hire A Developer
Questions
Other solution: Set initial after creating the form:
form.fields['tank'].initial = 123