Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6779011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:20:04+00:00 2026-05-26T16:20:04+00:00

The title block is not overriding when creating a custom version of base_site.html in

  • 0

The title block is not overriding when creating a custom version of base_site.html in /project_dir/templates/admin/base_site.html. The correct template is being rendered, however the title/branding block does not change on the page even when setting the blocks as follows. I have a hunch that the issue is related to django_admin_tools, but am not sure yet at this time.

{% block title %}Super Awesome new admin title{% endblock %}

and

{% block branding %}
    <h1 id="site-name">Super Awesome new admin branding</h1>
{% endblock %}

Edit:

results of grep for {% block branding %} in both the project and in python libs finds it in 4 locations

$ grep -r "{% block branding %}" /path/to/
/path/to/virtualenv/lib/python2.7/site-packages/admin_tools/theming/templates/admin/base.html:        {% block branding %}{% endblock %}
/path/to/virtualenv/lib/python2.7/site-packages/admin_tools/menu/templates/admin/base_site.html:{% block branding %}
/path/to/virtualenv/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/admin/templates/admin/base.html:        {% block branding %}{% endblock %}
/path/to/virtualenv/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/contrib/admin/templates/admin/base_site.html:{% block branding %}
/path/to/project/templates/admin/base.html:        {% block branding %}{% endblock %}
/path/to/project/templates/admin/base_site.html:{% block branding %}

In the project base_site.html I change {% load i18n admin_tools_menu_tags %} to something wrong like {% load i18nn admin_tools_menu_tags %} (add an n to i18n) and get an error so I know the template is at least being correctly chosen.

Any suggestions on what would be causing my blocks to be ignored or overridden somewhere else? As shown above, I don’t see where else they could possibly be overridden.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:20:05+00:00Added an answer on May 26, 2026 at 4:20 pm

    Django admin tools uses a photo to brand the admin….not the branding block.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have html and css as below - .title { display: block; background-color: red;
In javascript, I've got a block of HTML like this: <h2>{title}</h2> <p><a href={url}>{content}</a></p> And
<html> <head> <title>{% block title %}{% endblock %}</title> </head> <body> <h1>{% block title %}{%
I have a block of HTML that I am parsing with Jsoup, however, not
Short version of question: see title Long version of question: I've used jquery's show()
The title might not be clear, but I don't know how else to put
I'm wondering if that (my title) is ever incorrect, other than for HTML validation.
I can't think of a good title, but my question is not as naive
Why the #hello can fade out but not show anymore?? thanks! <!DOCTYPE html> <html>
I not sure how to describe in the title.So,just give more information here. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.