login community faq

I have uploaded my project from git and my urls.py file is not compiling (meaning I don't see a urls.pyc file after restarting apache). When I use runserver, it works but with apache it just gives me a 404 Not Found Page (and it's not my custom 404 page either). Could it be because of the folder structure of my project? My manage.py and settings.py files are 2 folders down from the project root unlike the default of 1. I pointed my WSGIDaemonProcess and WSGIScriptAlias to what I believe to be correct. Any thoughts?

asked Jul 21 '12 at 15:08

Flye777's gravatar image

Flye777
1


Looks like that problem may be solved. Just so everybody knows, when you have a directory that has the manage.py file further inside a project than the root, all preceding folders must be in the python path. So I just added the folder in between the django_app path and the manage.py path to the WSGIDaemonProcess PythonPath value.

answered Jul 21 '12 at 15:18

Flye777's gravatar image

Flye777
1

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×642
×3

Asked: Jul 21 '12 at 15:08

Seen: 385 times

Last updated: Jul 21 '12 at 15:18

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited