Source

djangobook-cn / common / django_aep_export / django_templates / templates / databrowse / fieldchoice_homepage.html

{% extends "databrowse/base_site.html" %}

{% block title %}Browsable fields in {{ model.verbose_name_plural }}{% endblock %}

{% block content %}

<div id="breadcrumbs"><a href="{{ root_url }}">Home</a> / <a href="{{ model.url }}">{{ model.verbose_name_plural|capfirst }}</a> / Fields</div>

<h1>Browsable fields in {{ model.verbose_name_plural }}</h1>

<ul class="objectlist">
{% for field in field_list %}
<li class="{% cycle 'odd' 'even' %}"><a href="{{ field.name }}/">{{ model.verbose_name_plural|capfirst }} by {{ field.verbose_name }}</a></li>
{% endfor %}
</ul>

{% endblock %}