diff options
| author | Alec Perkins | 2012-09-07 14:33:07 -0400 |
|---|---|---|
| committer | Alec Perkins | 2012-09-07 14:33:07 -0400 |
| commit | e077b0e519a45c49d07f0c83462fed28fff9ab8c (patch) | |
| tree | a1e5d84f7e73d6ee8fc63a1c7132a916f6282a65 | |
| parent | 72bdd0fcec7faa32d7f24e0698736f9433b56f3f (diff) | |
| download | django-rest-framework-e077b0e519a45c49d07f0c83462fed28fff9ab8c.tar.bz2 | |
Change browsable API base template to HTML5 doctype, required by Bootstrap.
| -rw-r--r-- | djangorestframework/templates/djangorestframework/base.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/djangorestframework/templates/djangorestframework/base.html b/djangorestframework/templates/djangorestframework/base.html index d33c5393..661ec51b 100644 --- a/djangorestframework/templates/djangorestframework/base.html +++ b/djangorestframework/templates/djangorestframework/base.html @@ -3,16 +3,15 @@ {% load add_query_param %} {% load optional_login %} {% load static %} -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> +<!DOCTYPE html> +<html> <head> <link rel="stylesheet" type="text/css" href='{% get_static_prefix %}djangorestframework/css/style.css'/> {% block extrastyle %}{% endblock %} <title>{% block title %}Django REST framework - {{ name }}{% endblock %}</title> {% block extrahead %}{% endblock %} {% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %} + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> </head> <body class="{% block bodyclass %}{% endblock %}"> <div id="container"> |
