Re: CSS on dev server, same old problem

2007-06-18 Thread AnaReis
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: > > >

Re: CSS on dev server, same old problem

2007-06-18 Thread Vincent Nijs
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

Re: CSS on dev server, same old problem

2007-06-18 Thread AnaReis
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

Re: CSS on dev server, same old problem

2007-06-15 Thread alg
> 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

CSS on dev server, same old problem

2007-06-15 Thread AnaReis
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