Re: .96 Tutorial maxlength/max_length confusion.

2009-04-07 Thread garyrob
> This indicates that no matter what you may think, you have another > version of the Django code installed somewhere on your computer and > it's being picked up (or perhaps you have a corrupt or partial install > -- e.g., you may have some files from one version of Django, and other > files from

Re: .96 Tutorial maxlength/max_length confusion.

2009-04-07 Thread garyrob
> Try doing ./manage.py shell > > >>> import django > >>> django.version > > and see what it prints out. (0, 96.094, None) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: .96 Tutorial maxlength/max_length confusion.

2009-04-07 Thread J. Cliff Dyer
On Tue, 2009-04-07 at 10:24 -0500, James Bennett wrote: > On Tue, Apr 7, 2009 at 9:33 AM, garyrob wrote: > > I'm doing the .96 tutorial because my company is using version 96.1 > > for now. > > Well, first things first, you should upgrade both yourself and your > company to 0.96.3, because there

Re: .96 Tutorial maxlength/max_length confusion.

2009-04-07 Thread James Bennett
On Tue, Apr 7, 2009 at 9:33 AM, garyrob wrote: > I'm doing the .96 tutorial because my company is using version 96.1 > for now. Well, first things first, you should upgrade both yourself and your company to 0.96.3, because there have been security updates in the 0.96 series. > TypeError: __init

Re: .96 Tutorial maxlength/max_length confusion.

2009-04-07 Thread garyrob
Following up on my previous message in this thread, after changing maxlength to max_length, python manage.py sql polls works, but python manage.py syncdb results in sqlite3.OperationalError: near ""choice"": syntax error. This seems odd since the code for the choice class was pasted right ou