Re: Django Template Dir Question

12 views
Skip to first unread message

Tom Evans

unread,
Jul 17, 2014, 11:03:56 AM7/17/14
to django...@googlegroups.com
On Wed, Jul 16, 2014 at 9:37 PM, G Z <zuk...@gmail.com> wrote:
> My project structure goes
>
> holon
>
> -holon
> -settings.py
> -etc
>
> -portal -App name
> -static
> css / images
> -templates
> -main site template files
> views.py
> urls.py
> etc
>
> -templates
> base.html
> base_site.hrml
>
>
> its not changing the admin pages template which is what im trying to do.
> What am I doing wrong i think my path might be wrong I believe it should be
> taking me to the root holon directory so the project directory, then i
> specify templates folder. and I put the two files in there and modified them
> a bit, but its still the default admin page. What am I doing wrong?
>

Django admin uses the template "admin/base_site.html". You've
overridden the template "base_site.html", which it doesn't use.

Cheers

Tom
Reply all
Reply to author
Forward
0 new messages