El valor predeterminado requiere 2 argumentos, 1 proporcionados

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