It works Thank you so much! :D
On Jun 18, 10:52 am, Vincent Nijs <[EMAIL PROTECTED]>
wrote:
> I think it should work if you use:
>
> (r'^appsmedia/(?P.*)$', 'django.views.static.serve',
> {'document_root': '/nobackup/reis/Project/Manager/templates/
> appsmedia'}),
>
> On the template:
>
>
>
I think it should work if you use:
(r'^appsmedia/(?P.*)$', 'django.views.static.serve',
{'document_root': '/nobackup/reis/Project/Manager/templates/
appsmedia'}),
On the template:
Or
(r'^manager/appsmedia/(?P.*)$', 'django.views.static.serve',
{'document_root': '/nobackup/reis/Project/Manager
On Jun 15, 5:22 pm, alg <[EMAIL PROTECTED]> wrote:
> > > I can see the css files code on the web browser
> > through:http://145.23.6.135:8000/manager/appsmedia/css/css1.css
>
> You're using an absolute path in the link element's href.
Hum... How do I use a dynamic path? (Sorry if it's a lame
> I can see the css files code on the web browser
> through:http://145.23.6.135:8000/manager/appsmedia/css/css1.css
You're using an absolute path in the link element's href.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
Hi,
I still don't understand if the Djangos' dev server allows the usage
of css files on a web page or if it only allows accessing the files
directly (for ex. http:something:8000/proj/appsmedia/css1.css shows
the css code on the browser).
If it does allow the usage of css on templates then here is
5 matches
Mail list logo