On Mar 10, 6:11 pm, John Griessen <j...@industromatic.com> wrote:
> Joakim Hove wrote:
> >> What have I left out of this Virtualhost configuration?
> >    Alias /media/ "/usr/local/django/django/contrib/admin/media/"
> > HTH - Joakim
>
> Thanks Joakim,
>
> I found the corresponding place on my debian system and got admin templates.
>
> Next, I'm looking for why in my settings.py
>
> TEMPLATE_DIRS = (
> "/home/john/djangotemplates"
> )
>
> is not being used.
>
> Clues?
>
> John

You're confusing templates with assets. Templates are the HTML files
which are parsed by Django and determine what markup goes on a page.
Assets are the CSS and image files which go alongside. Django doesn't
serve assets, so you'll need to configure Apache to serve them
directly.
--
DR.

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