# Can't replace Admin Title in part 7 of tutorial

**URL:** <https://forum.djangoproject.com/t/cant-replace-admin-title-in-part-7-of-tutorial/32690>\
**Category:** Getting Started\
**Created:** [July 4, 2024, 11:59am UTC](https://forum.djangoproject.com/t/cant-replace-admin-title-in-part-7-of-tutorial/32690 "2024-07-04T11:59:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TimGilchristCA](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/timgilchristca/32/22053_2.png) [@TimGilchristCA](https://forum.djangoproject.com/u/TimGilchristCA)\
**Post date:** [July 4, 2024, 11:59am UTC](https://forum.djangoproject.com/t/cant-replace-admin-title-in-part-7-of-tutorial/32690/1 "2024-07-04T11:59:27Z")

</div>

Hi,  
I’m stuck at the part of the tutorial where I change the look of the admin screen. I’ve created the templates and admin folders in the project directory and copied in base\_site.html. See picture below (I’m doing the tutorial in the Replit environment).

 ![image](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/c/d/cd679b29977a99aa336b2200f7c14e529d6a5542.png)  
I’ve then added BASE\_DIR / “templates” to settings.

```auto
TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [BASE_DIR / "templates"],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]

```

In the copied base\_site.html I’ve changed it as suggested:

```auto
{% extends "admin/base.html" %}

{% block title %}{% if subtitle %}{{ subtitle }} | {% endif %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %}

{% block branding %}
<div id="site-name"><a href="{% url 'admin:index' %}">Polls Administration</a></div>
{% if user.is_anonymous %}
  {% include "admin/color_theme_toggle.html" %}
{% endif %}
{% endblock %}

{% block nav-global %}{% endblock %}

```

But it still comes out with Django administration in the title of the admin page.  
Its clearly not picking up the path to my new template.  
Any ideas what I have mucked up, things have been going pretty well since part 2 and I’m beginning to get my head round it all so some help appreciated!

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [July 4, 2024, 12:07pm UTC](https://forum.djangoproject.com/t/cant-replace-admin-title-in-part-7-of-tutorial/32690/2 "2024-07-04T12:07:13Z")

</div>

It looks like you have this new `templates` directory in the “inner” project directory, and not the outer directory. (The image makes it really hard to tell, so I can’t be sure.)

This project-level `templates` directory needs to be in the “outer” project directory, the directory containing the `manage.py` file - the parent directory of the `polls` app and the “inner” project directory that contains the `settings.py` file.

---

<div class="post-metadata">

**Author:** ![dev1](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/dev1/32/23857_2.png) [@dev1](https://forum.djangoproject.com/u/dev1)\
**Post date:** [September 12, 2024, 8:02am UTC](https://forum.djangoproject.com/t/cant-replace-admin-title-in-part-7-of-tutorial/32690/3 "2024-09-12T08:02:54Z")

</div>

place the admin/base\_site.html on polls/templates… do not create another templates folder
