Skip to content

Commit

Permalink
Fixed #544 -- Added xmlns and lang attributes to <html> tag in admin_…
Browse files Browse the repository at this point in the history
…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
adrianholovaty committed Sep 27, 2005
1 parent 787ff70 commit cac9914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/conf/admin_templates/base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!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> <head>
<title>{% block title %}{% endblock %}</title> <title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" /> <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" />
Expand Down

0 comments on commit cac9914

Please sign in to comment.