Hi, I'm new to Django. I've read the doc: http://docs.djangoproject.com/en/dev/howto/static-files/?from=olddocs which is about static files but still do not quite understand what to call everything and it isn't working On my development machine, I want to use this hack and not deal with other servers. Please help.
here is my file structure: /mysite/ - has all the .py files /mysite/templates/ - has all the html templates /mysite/templates/path_media/ - has the CSS document and pictures Now, how should I modify this: (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/path/to/media'}) '/path/to/media' should be changed to what? And is this what I want for my style href? : <link type="text/css" href="site_media/style.css" What about when I pull an image using the css document: url("site_media/foo.jpg") What am I doing wrong and how should I change it????? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---