Thunderbird/ISPDB: Difference between revisions

Line 8: Line 8:


== Setup Issues  ==
== Setup Issues  ==
*Problem running python manage.py test (Template Error). Make sure you run python manage.py test --settings=local_settings
<br>
<ul>
<ul>
<li>Problem running python manage.py test (Template Error).</li>
<li>Make sure you run python manage.py test --settings=local_settings</li>
<li>Why do you sometimes need a soft link called ispdb pointing back at itself?</li>
<li>Why do you sometimes need a soft link called ispdb pointing back at itself?</li>
<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>
<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>
30

edits