I want to change the django bydefault admin panel title bar where wirte the django administration. Actually I want to replace the django administration with the my site name.
+1
A:
Have a look a django-grappelli : http://code.google.com/p/django-grappelli/
Or
Do it yourself : http://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-admin-templates
Frozenskys
2010-02-25 10:52:42
@S.Lott - Thanks, that's the link I was looking for :)
Frozenskys
2010-02-25 11:24:39
@Frozenskys: You might want to delete the other "obsolete" link.
S.Lott
2010-02-25 12:53:52
@S.Lott Done! :)
Frozenskys
2010-02-25 14:54:40
A:
I found out the solution: Make the file in notpad
{% extends "admin/base.html" %}
{% load i18n %}
{% block title %}{{ title }} | {% trans 'Your Customize name' %}{% endblock %}
{% block branding %}
<h1 id="site-name">{% trans 'Your Customize name administration' %}</h1>
{% endblock %}
{% block nav-global %}{% endblock %}
and then save the above file with the name "base_site.html" in the folder name "admin" of your project directory. Also give the path of admin parent directory in the settings.py file under TEMPLATE_DIRS in inverted commas.
qulzam
2010-02-26 13:48:55