And now it doesn't work again.......... what is going on??? On Nov 25, 2:18 pm, Stodge <[email protected]> wrote: > I think I have it. I'm developing a Mercurial hook in /var/www/sites/ > project/hg/hooks. If I delete this directory it works. If I recreate > the directory and the hook, it fails. Guess Django is getting confused > by its existence. > > On Nov 25, 12:56 pm, Bill Freeman <[email protected]> wrote: > > > Does /var/www/sites/project/__init__.py exist? > > > Are the files and directories readable, and the directories searchable > > (excutable) > > by the user as which the webserver runs? > > > On Wed, Nov 25, 2009 at 12:21 PM, Stodge <[email protected]> wrote: > > > If I break the code out and write a simple python script that only > > > contains: > > > > import sys, os > > > sys.path.append("/var/www/sites") > > > from project import settings > > > from django.core.management import setup_environ > > > setup_environ(settings) > > > > Even this doesn't work yet as far as I can tell, it should. Any ideas? > > > > -- > > > > You received this message because you are subscribed to the Google Groups > > > "Django users" 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 > > > athttp://groups.google.com/group/django-users?hl=en. > >
-- You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en.

