default membutuhkan 2 argumen, 1 disediakan

You have an extra space which causes the error.

value="{{ form.username.value|default_if_none: '' }}"

should be
value="{{ form.username.value|default_if_none:'' }}"
BlueMoon