On Wed, Jul 20, 2011 at 1:47 PM, Andre Terra wrote:
> Oh, I didn't know that. Has that always been the case or was that feature
> added in a recent version?
>
> Anyway, thanks, Tom!
>
>
> Cheers,
> AT
>
4 years ago :)
https://code.djangoproject.com/changeset/5379
Cheers
Tom
--
You received
Oh, I didn't know that. Has that always been the case or was that feature
added in a recent version?
Anyway, thanks, Tom!
Cheers,
AT
On Wed, Jul 20, 2011 at 9:44 AM, Tom Evans wrote:
> On Wed, Jul 20, 2011 at 1:01 PM, Andre Terra wrote:
> > From what I'm seeing, you haven't created your own
On Wed, Jul 20, 2011 at 1:01 PM, Andre Terra wrote:
> From what I'm seeing, you haven't created your own context processor,
> and the default processors do not add MEDIA_URL to the context.
>
django.core.context_processors.media adds MEDIA_URL to the context,
and is in TEMPLATE_CONTEXT_PROCESSORS
learn from the answers as well.
>>
>>
>> Best regards,
>> Andre Terra
>>
>> On 7/19/11, Jussiê Vieira Toledo wrote:
>> > E ae galera!
>> >
>> > Estou tentando carregar um css para uma página, mas no caminho não
>> > estou
ng, but also so that others
> might learn from the answers as well.
>
>
> Best regards,
> Andre Terra
>
> On 7/19/11, Jussiê Vieira Toledo wrote:
> > E ae galera!
> >
> > Estou tentando carregar um css para uma página, mas no caminho não
> > estou
, but also so that others
might learn from the answers as well.
Best regards,
Andre Terra
On 7/19/11, Jussiê Vieira Toledo wrote:
> E ae galera!
>
> Estou tentando carregar um css para uma página, mas no caminho não
> estou acertando.
> Como vejo qual é a minha pasta root?
>
&
E ae galera!
Estou tentando carregar um css para uma página, mas no caminho não
estou acertando.
Como vejo qual é a minha pasta root?
Por exemplo estou tentando desta duas formas:
1 -
onde MEDIA_URL = '/media/' e
MEDIA_ROOT = os.path.join(PROJECT_ROOT_PATH, 'media')
e 2 -
7 matches
Mail list logo