: Django users
Subject: Re: Django Template CSS Load Path
I still cannot get the css page to load.
On Jan 19, 4:02 pm, Matías Iturburu wrote:
> On Wed, Jan 19, 2011 at 5:30 PM, Eduardo Cereto Carvalho <
>
> eduardocer...@gmail.com> wrote:
> > You can use MEDIA_URL conf to get the r
Interestingly, I added
TEMPLATE_CONTEXT_PROCESSORS = (
'django.core.context_processors.request',
'django.core.context_processors.media',
)
to my settings.py and got this error.
Put 'django.contrib.auth.context_processors.auth' in your
TEMPLATE_CONTEXT_PROCESSORS setting in order to use t
I still cannot get the css page to load.
On Jan 19, 4:02 pm, Matías Iturburu wrote:
> On Wed, Jan 19, 2011 at 5:30 PM, Eduardo Cereto Carvalho <
>
> eduardocer...@gmail.com> wrote:
> > You can use MEDIA_URL conf to get the root path to your media files.
>
> > > />
>
My MEDIA_URL is MEDIA_URL =
On Wed, Jan 19, 2011 at 5:30 PM, Eduardo Cereto Carvalho <
eduardocer...@gmail.com> wrote:
> You can use MEDIA_URL conf to get the root path to your media files.
>
> />
>
>
the above code is correct, just make sure that you are using the media
context processor or returning a RequestContext, not
You can use MEDIA_URL conf to get the root path to your media files.
On Wed, Jan 19, 2011 at 5:55 PM, octopusgrabbus
wrote:
> I am trying to load a css file in my base.html template
>
>
>
>
>{% block title %}Test{% endblock %}
>
>
>
> What kind of path is supposed
I am trying to load a css file in my base.html template
{% block title %}Test{% endblock %}
What kind of path is supposed to go in the href? Is it relative to the
document root?
Does anyone have an example of loading a css file including the Apache
configuration?
6 matches
Mail list logo