Opened 18 years ago
Closed 18 years ago
#3843 closed (invalid)
setting up django with mod_python and apache.
Reported by: | anonymous | Owned by: | Jacob |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This documentation is very unclear. For example it doesn't state weather the static files have to be under the django project in the file hierarcy or under apache's Document Root. Nor does it give an example of a suitable location for the files combined with an example reference path in an HTML file that will pick up said static file. In the absence of these one is left trying almost endless combinations for static file folder locations and possible paths to reach those files. No success here yet... i'll try the IRC channel now.
The static files issue is discussed in a number of places including the tutorial and the deployment docs. Basically, no - the files do not have to be under the django project root, but they'll need to be somewhere (some) webserver can serve them. It's up to you to do this.