Are you using a context processor to pass MEDIA_URL to the template? How are you serving your static files? Have you setup your server correctly, or configured django to serve them?
Finally, please post in English so that everyone can understand your question, not only for the sake of helping, but also so that others might learn from the answers as well. Best regards, Andre Terra On 7/19/11, Jussiê Vieira Toledo <jus...@odig.net> 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? > > Por exemplo estou tentando desta duas formas: > 1 - <link href="{{ MEDIA_URL }}/website/csscida.css" rel="stylesheet" > type="text/css" /> > onde MEDIA_URL = '/media/' e > MEDIA_ROOT = os.path.join(PROJECT_ROOT_PATH, 'media') > > e 2 - > <link href="/cida/media/website/css/cida.css" rel="stylesheet" > type="text/css" /> > onde a pasta "cida" seria onde eu dei o startproject > > Valeu ae galera, > > -- > 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Sent from my mobile device -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.