Hi, In your templates/wkw1/lawyer dir extend change_list.html and override the title:: {% extends "admin/change_list.html" %} {% block content_title %}<h1>Your Title Here</h1>{% endblock %}
Hope it helps lzantal http://twitter.com/lzantal On Nov 16, 5:31 pm, Zeynel <azeyn...@gmail.com> wrote: > RIDER 2: > > pictures of the title I want to change: > > http://zeynel.posterous.com/django-template-problem > > On Nov 16, 3:35 pm, Zeynel <azeyn...@gmail.com> wrote: > > > In case someone else has the same problem: I hard-coded the text I > > wanted in between h1 tags in template base.html. > > > {% block content_title %}{% if title %}<h1>Enter last name</h1>{% > > endif %}{% endblock %} > > > but this defeats the purpose of templates. If you know how titles are > > created in django, please let me know. > > > On Nov 16, 2:57 pm, Zeynel <azeyn...@gmail.com> wrote: > > > > I found that the base.html template takes the title in admin change > > > page from the title of the page: > > > > line 64 in base.html: > > > > {% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %} > > > {% endblock %} > > > > How can I change the title of the page? Does anyone know? > > > > Also mentioned here:http://code.djangoproject.com/changeset/1975 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=.