From 6287863bf657af89aac088332a9a46198d1f6558 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sat, 16 Feb 2019 10:23:59 +0100 Subject: [PATCH] Make base template compatible with Django Contrib Admin --- templates/base.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/base.html b/templates/base.html index e58950ab..67131732 100644 --- a/templates/base.html +++ b/templates/base.html @@ -54,6 +54,7 @@ with this program; if not, write to the Free Software Foundation, Inc., + {% block extrastyle %}{% endblock %} {# Favicon with iOS, Android, touchbar support #} @@ -68,6 +69,8 @@ with this program; if not, write to the Free Software Foundation, Inc., {{ name_website }} : {% block title %}{% trans "Home" %}{% endblock %} + + {% block extrahead %}{% endblock %} @@ -188,6 +191,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
+ {# Display breadcrumbs #} + {% block breadcrumbs %}{% endblock %} + {# Display django.contrib.messages as Bootstrap alerts #} {% bootstrap_messages %} {% block content %}{% endblock %}