On 12/11/06, snippetcreator <[EMAIL PROTECTED]> wrote: > > I have a problem with the development server not serving static files. > I configured everything as explained in static_files.txt (I also have > read all the postings here about the subject) but it still will not > serve images or stylesheets. > The strange thing is I do not get 404's anymore since I configured > things the way it should be done. So I started debugging .. Then I > noticed the file views\static.py (where django.views.static.serve > lives) isn't byte compiled !? ... > So obvious something is very wrong with > my cvs checkout (downloaded two weeks ago).
That's not obvious to me. Make sure that you have write permissions for the directory the pyc should be created in. Make sure you're importing django where you think you are, using the same version of python you're using when you runserver. (Make sure "manage.py" uses the same python as "python manage.py" would.) Delete *.pyc from the django tree and run again. Do a find for *.pyc anywhere on your machine. I'm pretty sure one of these things will turn something up. :) --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---