Re: Trouble setting up website with mysql as backend

2012-03-19 Thread Swaroop Shankar V
Hello Clifford, It was really nice of you to provide an insight into the non strict mode. I agree to what you said regarding the length of the field. I was developing the project using sqlite and since it was ready to go live i wanted to test it using mysql in my local system. When i ran syncdb i w

Re: Trouble setting up website with mysql as backend

2012-03-18 Thread CLIFFORD ILKAY
On 03/17/2012 04:49 PM, Swaroop Shankar V wrote: Hello All, I was developing a website and the development was all done using sqlite database. Now the development is almost complete so i need to test the site using mysql. When i did a syncdb on a fresh database i got the following error: [snip]

Re: Trouble setting up website with mysql as backend

2012-03-18 Thread Sithembewena Lloyd Dube
Congrats :) On Sun, Mar 18, 2012 at 8:55 AM, Swaroop Shankar V wrote: > As Alasdair pointed out, i had few custom permission which had pretty big > name. I reduce it and it got fixed. Thank you both for helping me out. > > Thanks and Regards, > Swaroop Shankar V > > > > On Sun, Mar 18, 2012 at 6:

Re: Trouble setting up website with mysql as backend

2012-03-17 Thread Swaroop Shankar V
As Alasdair pointed out, i had few custom permission which had pretty big name. I reduce it and it got fixed. Thank you both for helping me out. Thanks and Regards, Swaroop Shankar V On Sun, Mar 18, 2012 at 6:27 AM, Sithembewena Lloyd Dube wrote: > ^^ What Alasdair said. If you still cannot so

Re: Trouble setting up website with mysql as backend

2012-03-17 Thread Sithembewena Lloyd Dube
^^ What Alasdair said. If you still cannot solve this after shortening your models' names, can we see your models? On Sat, Mar 17, 2012 at 11:54 PM, Alasdair Nicol wrote: > On 17/03/12 20:49, Swaroop Shankar V wrote: > >> Hello All, >> I was developing a website and the development was all done u

Re: Trouble setting up website with mysql as backend

2012-03-17 Thread Alasdair Nicol
On 17/03/12 20:49, Swaroop Shankar V wrote: Hello All, I was developing a website and the development was all done using sqlite database. Now the development is almost complete so i need to test the site using mysql. When i did a syncdb on a fresh database i got the following error: Tracebac

Re: Trouble setting up website with mysql as backend

2012-03-17 Thread Swaroop Shankar V
Swaroop Shankar V Sithembewena, Its not because i have not installed mysql module for python. syncdb worked fine for many of the apps in my project and created the tables for those apps. This issue arise when creating the table for few apps. Thanks and Regards, Swaroop Shankar On Sun, Mar 18, 20

Re: Trouble setting up website with mysql as backend

2012-03-17 Thread Sithembewena Lloyd Dube
Did you install mysql-python? If not, you can find it on Sourceforge. On Sat, Mar 17, 2012 at 10:49 PM, Swaroop Shankar V wrote: > Hello All, > I was developing a website and the development was all done using sqlite > database. Now the development is almost complete so i need to test the site >

Trouble setting up website with mysql as backend

2012-03-17 Thread Swaroop Shankar V
Hello All, I was developing a website and the development was all done using sqlite database. Now the development is almost complete so i need to test the site using mysql. When i did a syncdb on a fresh database i got the following error: Traceback (most recent call last): File "./manage.py", l