Thursday, September 25, 2014

Re: Customize admin look & fee (Django 1.7 / Windows)

Uhm.....

site_title|default:_('Dario Administration')


Is site_title valorized???
I think, if yes, that the problem is only there. 

But on tutorial, imho, this part is not so clear.


Il giorno venerdì 26 settembre 2014 08:37:58 UTC+2, Dario Chemello ha scritto:
Yes!
And I change on the template only the "title":

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


{% block title %}{{ title }} | {{ site_title|default:_('Dario Administration') }}{% endblock %}


{% block branding %}
<h1 id="site-name"><a href="{% url 'admin:index' %}">{{ site_header|default:_('Dario Administration') }}</a></h1>
{% endblock %}


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





Il giorno giovedì 25 settembre 2014 22:42:51 UTC+2, Collin Anderson ha scritto:
Did you save your template here?

C:/Users/Dario/mysite/templates/admin/base_site.html

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0b74c220-a94c-4de2-b8bc-32ed1ef7735d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment