Hi all,

I'm trying to set up Django on Bluehost with MySQL as my db, and I'm
running into problems.  I was hoping someone who has successfully
married MySQLdb to Django on Bluehost can help me out.  I'm sure it's
something really simple that I am omitting.

Bluehost doesn't have MySQLdb installed by default, so I built and
installed it locally under $HOME/python_modules, and added
$HOME/python_modules to $PYTHONPATH in my .bash_profile.  Given this
change, I can manipulate my Django models just fine when using the
Python interpreter.  However, I run into problems when I attempt to
access my Django app via a browser.  I get the following message:

ImproperlyConfigured: Error loading MySQLdb module: No module named
MySQLdb
      args = ('Error loading MySQLdb module: No module named MySQLdb',)

Apparently the Python path being used in this instance is not correct.
How do I correct that?  

Thanks,
Steve


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to