Hey this might be a question I can answer - I'm a NKOTB too.

The easiest way is to modify the "title" and "branding" blocks in the
base_site.html file.  This would change the name for the admin across
the site, as far as I know.  It should live in (in your case) /home/
divesh/projects/myproject/templates/admin/base_site.html - looks like
you've already copied that file from the django site-packages
directory.

----------

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

{% block title %}{{ title }} | {% trans 'Django site admin' %}{%
endblock %}

{% block branding %}
<h1 id="site-name">{% trans 'Django administration' %}</h1>
{% endblock %}

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



On Jun 30, 1:06 pm, Divesh Gidwani <dagidw...@gmail.com> wrote:
> Okay, I have experimented with this for sometime, but for some reason
> the site is still showing 'Django Administration' on top. I open it
> with Text/Edit and changed the name. What exact files from the Django
> directory should i copy to my project one.
>
> Thanks
>
> On Jun 30, 1:12 pm, Divesh Gidwani <dagidw...@gmail.com> wrote:
>
>
>
> > Now that I created the templates folder, should I take the base.html
> > and index.html files and paste them in this folder?
>
> > That being done, how can I edit these files? Is there a particular
> > program to use?
>
> > On Jun 30, 12:56 pm, Ahmet Emre Aladağ <aladage...@gmail.com> wrote:
>
> > > On Tue, Jun 30, 2009 at 7:36 PM, Divesh Gidwani <dagidw...@gmail.com> 
> > > wrote:
>
> > > > So I have had a pretty smooth transition so far, but am now stuck when
> > > > at the end of tutorial 2, it asks to specify my directory of tempaltes
> > > > in the settings.py file under the template_dirs tuple.
>
> > > > Where are the templates i created stored?
>
> > > You can create a directory called templates inside your project [not app]
> > > folder and give its fullpath such as:
> > > /home/divesh/projects/myproject/templates
>
> > > An example structure:
> > > -myproject
> > > --myapp
> > > ----views.py
> > > ----models.py
> > > ----urls.py
> > > --templates
> > > ----index.html
> > > ----base.html
> > > ----myapp
> > > ------results.html
> > > ------output.html
> > > --urls.py
> > > --settings.py
> > > --manage.py
> > > --__init__.py- Hide quoted text -
>
> - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to