Could you please try moving the base_site.html to C:\DjangoProjects\mysite\mytemplates\admin folder and Leave the TEMPLATE_DIRS as it is, which is "* C:/DjangoProjects/mysite/mytemplates*" only. and please try removing the / slash at the end.
On Sun, Jan 2, 2011 at 5:36 PM, Anthony Pearce <[email protected]> wrote: > TYVM for your response. My first reply does not show, so hopefully I'm > not double posting. > > This is what I have so far: > > TEMPLATE_DIRS "C:/DjangoProjects/mysite/mytemplates/" > base_site.html location C:\DjangoProjects\mysite\mytemplates > > This is what base_site.html reads. > {% 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 %} > > If this supposed to help me change the appearance? I don't see how to > change anything here. > > > On Jan 2, 4:36 pm, Praveen Krishna R <[email protected]> > wrote: > > Hi, > > > > Your TEMPLATE_DIRS should contain a path to a folder where you want to > keep > > your templates. Say if your project is in *D:/myproject* then create a > > folder named > > template under *D:\myproject*, and in that folder create a folder named > *admin > > *and then copy and paste base_site.html into the admin folder. > > > > TEMPLATE_DIRS section should look like the below snippet in settings.py > > > > * > > TEMPLATE_DIRS = ( > > 'D:/myproject /templates' > > ) > > > > * > > > > > > > > > > > > On Sun, Jan 2, 2011 at 10:04 AM, Anthony Pearce <[email protected]> > wrote: > > > I have made it to the "Writing your first Django app, part 2" page > > > down to "Customize the admin look and feel", at the bottom. I'm stuck > > > with this paragraph...... > > > > > Now copy the template admin/base_site.html from within the default > > > Django admin template directory in the source code of Django itself > > > (django/contrib/admin/templates) into an admin subdirectory of > > > whichever directory you're using in TEMPLATE_DIRS. For example, if > > > your TEMPLATE_DIRS includes "/home/my_username/mytemplates", as above, > > > then copy django/contrib/admin/templates/admin/base_site.html to /home/ > > > my_username/mytemplates/admin/base_site.html. Don't forget that admin > > > subdirectory. > > > > > I found the "base_site" at C:/Django-1.2.4/django/contrib/admin/ > > > templates/admin/base_site.html. > > > > > I have no idea where this is supposed to be copied and pasted to. > > > > > Any help please? > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Django users" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<django-users%[email protected]> > <django-users%2bunsubscr...@googlegroups.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/django-users?hl=en. > > > > -- > > *Praveen Krishna R*- 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<django-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- *Praveen Krishna R* -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

