I've worked my way through the Django tutorial successfully, up to 
https://docs.djangoproject.com/en/dev/intro/reusable-apps/ which worked for 
the development test server.
I have refactored out the polls application and turned it into a python 
package, as suggested, which I then installed as a local user library via "p
ython setup.py install --user"
This worked for the dev server as well.

After that I set up apache and mod_wsgi and configured apache to bind the 
path to the application to /test/
(WSGIScriptAlias /test/ /tmp/test/apache/django.wsgi, chowned to 
apache:apache)
which also worked.
What did not work, however, was apache, or python/django finding the polls 
package.

I am pretty new to python/django but I am pretty sure that I should 
relocate the polls package.
(currently @ /home/me/.local/lib/python2.7/site-packages/)
Where is the best place to put it?
Is there a better way to do this altogether?




-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/po9DbCOI2kIJ.
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/django-users?hl=en.

Reply via email to