Re: settings.py help please

2006-09-23 Thread Tom Smith
My MacOS X Django Development environment. I have found the easiest to be to install MAMP, which has Apache (which at the moment I don't use) and MySQL built in ... It has a nice GUI.. http://www.mamp.info/ Then install the MySQL python module mentioned// http://pythonmac.org/packages/py24-

Re: Re: settings.py help please

2006-09-22 Thread James Bennett
On 9/22/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > The other problem is finding people who have solved the problem and > taken notes and not made too many assumptions. If somebody is very > experienced using a Mac, their installation instructions are going to > miss things that other peop

Re: settings.py help please

2006-09-22 Thread Malcolm Tredinnick
On Fri, 2006-09-22 at 19:45 +, NakedHTML wrote: > Setting up everthing on Mac OS X can be frustraiting! > > It took me more than a few days to get it right on Tiger. > > Starting from scratch, with OS X 10.4.x, [...] > and then went on to the django install. It took a week of reinstalling >

Re: settings.py help please

2006-09-22 Thread NakedHTML
Setting up everthing on Mac OS X can be frustraiting! It took me more than a few days to get it right on Tiger. Starting from scratch, with OS X 10.4.x, I updated my xcode/xtools (to 2.4) to make sure the gcc was up to date. I installed apache 2.2.3 using darwin ports, and then installed the

Re: settings.py help please

2006-09-21 Thread Kenneth Gonsalves
On 22-Sep-06, at 1:47 AM, zehi wrote: > Not sure what's wrong? sudo python setup.py build install -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: settings.py help please

2006-09-21 Thread Jay Parlar
On 9/21/06, Don Arbow <[EMAIL PROTECTED]> wrote: > > On Sep 21, 2006, at 1:17 PM, zehi wrote: > > > > Still not successfull > > > > When trying to install MySQLdb I'm getting this error: > > > > zehi:~/Desktop/MySQL-python-1.2.1_p2 zehi$ python setup.py build > > sh: line 1: mysql_config: comm

Re: settings.py help please

2006-09-21 Thread Don Arbow
On Sep 21, 2006, at 1:17 PM, zehi wrote: > > Still not successfull > > When trying to install MySQLdb I'm getting this error: > > zehi:~/Desktop/MySQL-python-1.2.1_p2 zehi$ python setup.py build > sh: line 1: mysql_config: command not found > sh: line 1: mysql_config: command not found > sh: l

Re: settings.py help please

2006-09-21 Thread zehi
Still not successfull When trying to install MySQLdb I'm getting this error: zehi:~/Desktop/MySQL-python-1.2.1_p2 zehi$ python setup.py build sh: line 1: mysql_config: command not found sh: line 1: mysql_config: command not found sh: line 1: mysql_config: command not found sh: line 1: mysql_

Re: settings.py help please

2006-09-21 Thread Beau Hartshorne
On 21-Sep-06, at 6:28 AM, zehi wrote: > Not sure how to install MySQLdb . for OS X 10.4 > > I am following "Installing Django on Mac OS > X" word by word, but still can't get things run. > > Somebody have some experience? Hi zehi, Bob Ippolito built an OS X package for MySQLdb. You can get it

Re: settings.py help please

2006-09-21 Thread Jay Parlar
On 9/21/06, zehi <[EMAIL PROTECTED]> wrote: > > Thank you guys, > > Last login: Thu Sep 21 13:33:04 on ttyp1 > Welcome to Darwin! > zehi:~ zehi$ python > Python 2.4.3 (#1, Mar 30 2006, 11:02:15) > [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin > Type "help", "copyright", "credits" or "lic

Re: settings.py help please

2006-09-21 Thread zehi
Thank you guys, Last login: Thu Sep 21 13:33:04 on ttyp1 Welcome to Darwin! zehi:~ zehi$ python Python 2.4.3 (#1, Mar 30 2006, 11:02:15) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import MySQLdb Traceback (mos

Re: settings.py help please

2006-09-21 Thread Holger Schurig
> raise ImproperlyConfigured, "Error loading MySQLdb module: > %s" % e django.core.exceptions.ImproperlyConfigured: Error > loading MySQLdb module: No module named MySQLdb Your python installation lacks the python-module name 'MySQLdb' to access MySQL databases. If you were on Debian, you w

Re: settings.py help please

2006-09-21 Thread Malcolm Tredinnick
On Thu, 2006-09-21 at 11:47 +, zehi wrote: > Hi, > > I am Django newbee as well as getting familiar with MySQL and Python > itself. I use OS X 10.4 and I amtrying to follow Django tutorial. I am > testing everything on Django testing server. > > I have a problem with settings.py. Django is i

Re: settings.py help please

2006-09-21 Thread zehi
And here is how looks settings before running syncdb.py zehi:~/mysite zehi$ vi settings.py # 'django.template.loaders.eggs.load_template_source', ) MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'djang

settings.py help please

2006-09-21 Thread zehi
Hi, I am Django newbee as well as getting familiar with MySQL and Python itself. I use OS X 10.4 and I amtrying to follow Django tutorial. I am testing everything on Django testing server. I have a problem with settings.py. Django is installed properly, I guess. When di import django I have no e