You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
I have a custom form displaying ModelForm instance values like so: <input type="text" name="test" value="{{ form.test.value|default_if_none:''|date:'m/d/Y' }}"> It works fine displaying the value the first time the form is loaded and saving it in the database. The problem arises when the form fails validation on any field - the field becomes blank. Other fields are not affected. This is not happening when I remove the formatting.