On Oct 8, 2006, at 7:28 AM, Dirk Eschler wrote:
> > Am Samstag, 7. Oktober 2006 23:38 schrieb MerMer: >> I'm using a default local installation on a Windows XP machine, >> running >> Firefox 1.5 >> >> When I try the following URL >> http://localhost:8000/media/js/textareas.js I get a message saying >> that the file cannot be found on the following (notice the slashes) >> >> C:\Python24\lib\site-packages\django_src\django/contrib/admin/media >> \js/test >> area.js > > I'm truely no big help with windows, however, to me it seems that > the file > isn't readable. How do you serve your media files? > > During development i'm using the method described here: > http://www.djangoproject.com/documentation/static_files/ > > Make sure to read the disclaimer. ;) > >> However, when I go to localhost:8000/admin and then look in the >> source >> of the generated web pages it seems clear to that the files are in >> correct directory. >> >> It's probably something stupid, I am doing here ?. I'm very new to >> Django and still trying to find my way around. > > Ok, these are two different things. The path might be correct, but > if the > webserver doesn't serve the file, nothing will happen. > > -- > Dirk Eschler <mailto:[EMAIL PROTECTED]> > http://www.krusader.org Well it's not really kosher... but http://www.djangoproject.com/documentation/static_files/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---