Here's an example from the django source where we are using double quotes
in python instead of single quotes. The following code prints out html
using single quotes instead of the double quotes regularly seen in html.
return format_html("<input type='hidden' name='csrfmiddlewaretoken'
value='{0}' />", csrf_token)
instead of:
return format_html('<input type="hidden" name="csrfmiddlewaretoken"
value="{0}" />', csrf_token)
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/1d134caf-4488-449a-a8db-e650412bf7ff%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.