{% extends "django_schema_browser/base.html" %} {% load django_schema_browser_i18n %} {% load i18n %} {% block title %} {% btrans "[Details of %(current_model)s]" current_model=model_label %} {% endblock title %} {% block content %}

{% btrans "[Project applications]" %} {{ app_label }} {{ model_label }}

{% trans "[SQL table:]" %} {{ db_table }}

{{ description }}

{% btrans "[Model fields]" %}

{% if fields %} {% for field in fields %} {% endfor %}
{% btrans "[Name]" %} {% btrans "[Type]" %} {% btrans "[Description]" %} {% btrans "[Relation]" %}
{{ field.name }} {{ field.type }} {{ field.description }} {% if field.is_relation %} {{ field.related_target.label }} {% else %} {% btrans "[None]" %} {% endif %}
{% else %}

{% btrans "[No exposed field.]" %}

{% endif %}

{% btrans "[Reverse relations]" %}

{% if reverse_relations %} {% for relation in reverse_relations %} {% endfor %}
{% btrans "[Reverse field]" %} {% btrans "[Type]" %} {% btrans "[Source model]" %} {% btrans "[Description]" %}
{{ relation.source_model_label }}.{{ relation.source_field_name }} {{ relation.type }} {{ relation.source_model_label }} {{ relation.description }}
{% else %}

{% btrans "[No reverse relation.]" %}

{% endif %} {% endblock content %}