${name | default:'nohting' }
if name is False,I want to use a default value like nothing replaced
name
False
nothing
there is no default filter like that
But you can use your own customized template tags for that
https://docs.djangoproject.com/en/dev/howto/custom-template-tags/
Copyright © 2021 Jogjafile Inc.
there is no default filter like that
But you can use your own customized template tags for that
https://docs.djangoproject.com/en/dev/howto/custom-template-tags/