{{ attrdict|flatarrs }}
This is simply a wrapper around django.forms.utils.flatatt()
django.forms.utils.flatatt()
It converts a dict of attributes into a string, in proper key=”value” syntax. The values will be escaped, but keys will not.
formulation