I did try this, and I tried again, but it still doesn't work.
Do I need to do something extra like quit the server, and restart again? By
the way I did try this too.

Now, I am totally lost.

Thanks

On Mon, Jan 17, 2011 at 3:17 AM, Vovk Donets <donets.vladi...@gmail.com>wrote:

> You must specify in the TEMPLATE_DIRS path to the dir where templates were
> placed, not abs path file
> So
> TEMPLATE_DIRS = (
>     "/Users/xuchen81/Django/mysite/",
>
> )
> should work, coz'  "In order to override one or more of them, first create
> an admin directory in your project's templates directory. This can be any
> of the directories you specified in 
> TEMPLATE_DIRS<http://docs.djangoproject.com/en/dev/ref/settings/#std:setting-TEMPLATE_DIRS>
> ."
>
> 2011/1/17 Chen Xu <xuche...@gmail.com>
>
> 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?
>>
>> --
> *Vovk Donets*
>  python/django developer
>
> skype:  suunbeeam
> icq:      232490857
> mail:    donets.vladi...@gmail.com
>
>
>  --
> 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<django-users%2bunsubscr...@googlegroups.com>
> .
> 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 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