Re: Pasta root

2011-07-20 Thread Tom Evans
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

Re: Pasta root

2011-07-20 Thread Andre Terra
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

Re: Pasta root

2011-07-20 Thread Tom Evans
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

Re: Pasta root

2011-07-20 Thread Andre Terra
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

Re: Pasta root

2011-07-20 Thread Jussiê Vieira Toledo
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

Re: Pasta root

2011-07-19 Thread Andre Terra
, 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? > &

Pasta root

2011-07-19 Thread Jussiê Vieira Toledo
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 -