DEFAULT_CONTENT_TYPE = "application/xhtml+xml"
The admin site no longer renders correctly.
Do you think we should try to fix this by having all the admin responses specify content_type="text/html"? That requires a lot of changes [1] -- I'm not sure if discouraging the use of that setting might be acceptable instead. I imagine any third-party app that provides templates has this same problem.
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscribe@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/7dd3a2df-5cfb-4eec-b949-7147cb5bdf24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM1ndB51AYfO-RzTahXgSs%3D4sktXdNs8KDPYV4Q7HsP9-Q%40mail.gmail.com.
DEFAULT_CONTENT_TYPE does sound like a setting which shouldn't exist.
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/3735cad6-efe2-41bc-9273-98a7437d509a%40googlegroups.com.
I agree that this setting has become less useful now that <!DOCTYPE html> has won.It made more sense when it wasn’t clear whether XHTML1.1 would take over HTML4.I’d be interested to hear about use cases, if someone still uses it and reads this.
Would Django hard code "text/html" as the default?
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscribe@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c04be7c1-6ade-469c-b97c-0499598d2084%40googlegroups.com.