On Tue, 2009-04-07 at 10:24 -0500, James Bennett wrote:
> On Tue, Apr 7, 2009 at 9:33 AM, garyrob <gary...@mac.com> 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__() got an unexpected keyword argument 'maxlength'
> 
> Second, here's the actual code from the Django 0.96.1 release; you'll
> notice that it most certainly is "maxlength" and not "max_length":
> 
> http://code.djangoproject.com/browser/django/tags/releases/0.96.1/django/db/models/fields/__init__.py#L59
> 
> 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 another).
> 
> 
> 

Try doing ./manage.py shell

>>> import django
>>> django.version

and see what it prints out.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to