Monday, January 7, 2013

Access local network locations

Hello!

I'm working on a local django site and I've set up a post-save signal where when an entry is initially saved, I want to copy a template directory structure somewhere.  This template directory structure lives on a local network location.  However I can't seem to access it through my local apache server running on my machine:

if not os.path.exists(kProjectTemplateDir):
    raise RuntimeError('%s does not exist' % kProjectTemplateDir)

However when I run it through a shell, I can access it just fine.  The apache server is running through my user verified through 
ps aux | grep apache

Is there a setting I need to set in django or is this an apache issue?  I'm new to both so please excuse my ignorance.

Thank you,
Chad

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate