Browse files

[1.0.X] Fixed #10538: use a prefix for HTML ids on the admin doc page…

… to avoid conflicts with existing elements. Thanks, Justin Lilly. Backport of r10343 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 647ff3f commit c7a16bc6e0cf75144a644678b94cf22a99e22030 @jacobian jacobian committed Apr 1, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admindocs/templates/admin_doc/model_index.html
View
2 django/contrib/admindocs/templates/admin_doc/model_index.html
@@ -14,7 +14,7 @@
<div id="content-main">
{% for group in grouped_models %}
<div class="module">
-<h2 id="{{ group.grouper }}">{{ group.grouper|capfirst }}</h2>
+<h2 id="app-{{ group.grouper }}">{{ group.grouper|capfirst }}</h2>
<table class="xfull">
{% for model in group.list %}

0 comments on commit c7a16bc

Please sign in to comment.