Browse files

Fixed #10538: use a prefix for HTML ids on the admin doc page to avoi…

…d conflicts with existing elements. Thanks, Justin Lilly.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 2a99471 commit a50c6f1f24afc45124a1d4433794bfacd645851d @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 a50c6f1

Please sign in to comment.