Ticket #17050: index_div_id.diff

File index_div_id.diff, 737 bytes (added by scytale, 4 years ago)
  • django/contrib/admin/templates/admin/index.html

     
    1414
    1515{% if app_list %}
    1616    {% for app in app_list %}
    17         <div class="module">
     17        <div class="module" id="{{app.name|slugify}}-module">
    1818        <table summary="{% blocktrans with app.name as name %}Models available in the {{ name }} application.{% endblocktrans %}">
    1919        <caption><a href="{{ app.app_url }}" class="section">{% blocktrans with app.name as name %}{{ name }}{% endblocktrans %}</a></caption>
    2020        {% for model in app.models %}
Back to Top