Vincent, it doesn't appear anyone responded to your query here. The reason is that this list is actually for the development of django itself. For questions that relate to the use of django, such as this, use the django-users list instead. Take this question there or pop into the irc channel (#python on irc.freenode.net) to get the help you're looking for, if indeed you're still stuck.
Don Spaulding On Nov 18, 11:02 am, Vincent <[EMAIL PROTECTED]> wrote: > I am new to Django and Python and trying to learn by going thru an > open source application called Vection. I get everything up and > running except for the static images. I followed the article > athttp://www.djangoproject.com/documentation/static_files/put I still > can't get the images to serve. Could you tell what I am doing wrong? > > Enivornment: > Windows using the django web server > > Application: > Absolute Path: C:\development\Vection > Code: C:\Development\Vection\vection_01 > > Image location: C:\Development\vection\media\ > > Settings.py: > (I have two, one in C:\Development\vection\ and C:\Development\vection > \vection_01 both match) > MEDIA_ROOT = 'C:/Development/vection/media/' > > # URL that handles the media served from MEDIA_ROOT. > # Example: "http://media.lawrence.com" > MEDIA_URL = '/media/' > > URLs.py: > #Dev Media Server > (r'^media/(?P<path>.*)$', 'django.views.static.serve', > {'document_root': 'C:\Development\Vection\media', 'show_indexes': > True}), > > URL:http://127.0.01:8000/vection/login/ > Image:http://127.0.01:8000/media/images/login/login_tmp_r1_c1.png > (physcial loc: C:\Development\Vection\media\images\login\ > login_tmp_r1_c1.png > > Thanks for your help! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
