Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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: http://code.djangoproject.com/svn/django/trunk@706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit cac99144fd7fb38f485be9fb049d380bc6415f9d 1 parent 787ff70
Adrian Holovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/conf/admin_templates/base.html
2  django/conf/admin_templates/base.html
View
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xml:lang="en">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" />
Please sign in to comment.
Something went wrong with that request. Please try again.