Changes between Initial Version and Version 1 of Ticket #5004


Ignore:
Timestamp:
07/29/2007 01:20:03 AM (8 years ago)
Author:
mtredinnick
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 Status changed from new to closed
    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Needs documentation unset
    • Property Resolution changed from to invalid
  • 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