We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc5d8ff commit 3a9bb28Copy full SHA for 3a9bb28
mysite/mysite/settings.py
@@ -57,7 +57,7 @@
57
TEMPLATES = [
58
{
59
'BACKEND': 'django.template.backends.django.DjangoTemplates',
60
- 'DIRS': [],
+ 'DIRS': [os.path.join(BASE_DIR, 'templates')],
61
'APP_DIRS': True,
62
'OPTIONS': {
63
'context_processors': [
mysite/templates/admin/base_site.html
@@ -0,0 +1,10 @@
1
+{% extends "admin/base.html" %}
2
+
3
+{% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %}
4
5
+{% block branding %}
6
+<h1 id="site-name"><a href="{% url 'admin:index' %}">Polls Administration</a></h1>
7
8
+{% endblock %}
9
10
+{% block nav-global %}{% endblock %}
0 commit comments