try this,
TEMPLATE_DIRS = (
"/Users/xuchen81/Django/mysite/admin",
)
look here: http://docs.djangoproject.com/en/dev/ref/settings/?from=olddocs
On Mon, Jan 17, 2011 at 4:25 PM, Chen Xu <[email protected]> wrote:
> Hi, Django group:
> I am floowing the tutorial 1 on Django site, which is a poll application
> I have problem with overriding the admin page
> I copied admin/base_site.html from (django/contrib/admin/templates)
> to /Users/xuchen81/Django/mysite/admin/base_site.html
>
> and add this line "/Users/xuchen81/Django/mysite/admin/base_site.html"
> to TEMPLATE_DIRS in my settings.py file. It looks like the following:
>
> TEMPLATE_DIRS = (
> "/Users/xuchen81/Django/mysite/admin/base_site.html",
> )
>
> but the admin is just doesn't use this file, it still uses the default
> base_site.html.
>
> Could anyone please help me?
>
> Thanks
>
> --
> 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.
>
--
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.