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<path>.*)$', 'django.views.static.serve',
> {'document_root': '/nobackup/reis/Project/Manager/templates/
> appsmedia'}),
>
> On the template:
> <link rel="stylesheet" type="text/css" href="/appsmedia/css/css1.css" />
>
> Or
>
> (r'^manager/appsmedia/(?P<path>.*)$', 'django.views.static.serve',
> {'document_root': '/nobackup/reis/Project/Manager/templates/
> appsmedia'}),
>
> On the template:
> <link rel="stylesheet" type="text/css"
> href="/manager/appsmedia/css/css1.css" />
>
> This is what I used:
>
> (r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
> {'document_root': '/home/user/django/project/site_media'}),
>
> Works fine.
>
> Vincent
>
> On 6/18/07 3:29 AM, "AnaReis" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Jun 15, 5:22 pm, alg <[EMAIL PROTECTED]> wrote:
> >>> <link rel="stylesheet" type="text/css" href="/appsmedia/css/css1.css" /
> >>> 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 question...)
>
> --
> Vincent R. Nijs
> Assistant Professor of Marketing
> Kellogg School of Management, Northwestern University
> 2001 Sheridan Road, Evanston, IL 60208-2001
> Phone: +1-847-491-4574 Fax: +1-847-491-2498
> E-mail: [EMAIL PROTECTED]
> Skype: vincentnijs


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to