Tutorial Done / overwrite django default templates

This commit is contained in:
lm
2021-09-19 15:01:25 +02:00
parent 33ea2242b2
commit de6bdebd69
9 changed files with 231 additions and 4 deletions
+9
View File
@@ -0,0 +1,9 @@
{% extends "admin/base.html" %}
{% block title %}{% if subtitle %}{{ subtitle }} | {% endif %}{{ title }} | Admin {% endblock %}
{% block branding %}
<h1 id="site-name"><a href="{% url 'admin:index' %}">myPolls</a></h1>
{% endblock %}
{% block nav-global %}{% endblock %}