Jump to content

[Solved] Django Site Only Gives 500 Errors


andrewng

Recommended Posts

Django is working on Stevie.

 

http://area52.heliohost.org/djangotest/dispatch.wsgi

 

I can provide you with a zip file of the working example above:

 

http://area52.heliohost.org/djangotest.zip

 

You need to create .python_egg_cache in your home directory and chmod it 777

 

You also need to edit dispatch.wsgi to your directory path in 2 places as you see mine below:

 

 

import os, sys
sys.path.append("/home1/area52/public_html/djangotest");
 
### EDIT LINE ABOVE TO YOUR SITE ###
 
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
os.environ['PYTHON_EGG_CACHE'] = '/home1/area52/.python_egg_cache'
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...