Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored September 27, 2005

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/conf/admin_templates/base.html
2  django/conf/admin_templates/base.html
... ...
@@ -1,5 +1,5 @@
1 1
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2  
-<html xml:lang="en">
  2
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
3 3
 <head>
4 4
 <title>{% block title %}{% endblock %}</title>
5 5
 <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" />

0 notes on commit cac9914

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