Hi

Below is my code:

settings.py

MEDIA_URL = '/static/'
STATIC_DOC_ROOT = 'C:/djangotest/codificador/static/'

urls.py

urlpatterns = patterns(' ',
      (r'^static/(?P<path>.*)$', 'django.static.views.serve',
{'document_root': settings.STATIC_DOC_ROOT}),
)

base.html
 in style tag:
                  <style type='text/css'>
                           body {
                                    background-image:url(/static/
images/bg_green.jpg);
                                }

'images' folder is under 'static folder which is under project root.
I'm following the django online documentation tutorial and i followed
the process as described but stillits not working
 Please help me out

Regards
Shwetanka

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.

Reply via email to