Changes between Initial Version and Version 1 of Ticket #5004


Ignore:
Timestamp:
Jul 29, 2007, 1:20:03 AM (17 years ago)
Author:
Malcolm Tredinnick
Comment:

There is no bug here. The first thing you tried is not valid Python syntax and the second version is. The documentation uses an example very similar to the second version, too.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5004

    • Property Resolutioninvalid
    • Property Status newclosed
  • Ticket #5004 – Description

    initial v1  
    1 Setting up mod_python, when I put in PythonPath="['/usr/local/django/devel'].sys.path" , I get :
    2 
     1Setting up mod_python, when I put in {{{PythonPath="['/usr/local/django/devel'].sys.path"}}} , I get :
     2{{{
    33Mod_python error: "PythonHandler django.core.handlers.modpython"
    44
     
    2727
    2828EnvironmentError: Could not import settings 'settings' (Is it on sys.path? Does it have syntax errors?): No module named settings
     29}}}
    2930
    3031
    3132
    32 
    33 However....with ['/usr/local/django/']+sys.path    it works fine......
     33However....with {{{['/usr/local/django/']+sys.path}}}    it works fine......
Back to Top