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=.


Reply via email to