> 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)
>
This message inadvertently got deleted. If it was supposed to be removed.
My apologies; feel free to again remove it.
--
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/ca45bbf4-5167-4f6b-ad3b-517957e10ced%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.