Skip to content
Browse files

Fixed #544 -- Added xmlns and lang attributes to <html> tag in admin_…

…templates/base.html, so that the admin works when served as application/xhtml+xml. Thanks, Sune Kirkeby

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 787ff70 commit cac99144fd7fb38f485be9fb049d380bc6415f9d @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/conf/admin_templates/base.html
2  django/conf/admin_templates/base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
-<html xml:lang="en">
+<html xmlns="" lang="en" xml:lang="en">
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" />

0 comments on commit cac9914

Please sign in to comment.
Something went wrong with that request. Please try again.