{{ summary }}
+{% if description %} +{% filter escape|linebreaksbr %}{% trans description %}{% endfilter %}
+{% endif %} +diff --git a/django/contrib/admin/templates/admin_doc/model_detail.html b/django/contrib/admin/templates/admin_doc/model_detail.html index 31e5520aa0..0eb2971048 100644 --- a/django/contrib/admin/templates/admin_doc/model_detail.html +++ b/django/contrib/admin/templates/admin_doc/model_detail.html @@ -16,6 +16,10 @@
{% filter escape|linebreaksbr %}{% trans description %}{% endfilter %}
+{% endif %} +