On Jul 19, 11:53 pm, Armin Ronacher <[email protected]>
wrote:
> Hi,
>
> On Jul 19, 11:18 pm, tom <[email protected]> wrote:> $ export
> PYTHONPATH=${PYTHONPATH}:/var/www/shorty/
>
> Environment variables are not reliable and the webserver won't pick it
> up.
>
> Better put the following line into your shorty.wsgi file at
> the beginning:
>
> import sys
> sys.path.insert(0, '/var/www/shorty')
>
> Regards,
> Armin
Thanks Armin, that fixed it immediately. Keep up the good work!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pocoo-libs" 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/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---