30
edits
Line 13: | Line 13: | ||
<br> | <br> | ||
<ul> | |||
< | <li>Why do you sometimes need a soft link called ispdb pointing back at itself?</li> | ||
When you run a python manage.py <cmd>, django automatically adds the current directory to your sys.path. Since ../ is in the current directory ispdb will look like a package (because it has a __init__.py file). If your folder name is NOT ispdb, then the softlink is necessary to resolve all the references (i.e ispdb.config) | <li>When you run a python manage.py <cmd>, django automatically adds the current directory to your sys.path. Since ../ is in the current directory ispdb will look like a package (because it has a __init__.py file). If your folder name is NOT ispdb, then the softlink is necessary to resolve all the references (i.e ispdb.config)</li> | ||
== Making a patch == | == Making a patch == |
edits