Unexpected keyword argument 'max length' when running "manage syncdb"
If I change it to "maxlength" it works:
I did see note in tutorial regarding old version and I was using an
earlier version (0.96) - I then loaded the latest version by:
- delete django directory from "site package"
- download 0.96.1 files (tar.gz)
- run python setup.py install
Still get the same error...
Without using the documentation from previous version - what can I do
to fix this?
I believe I am running latest version.
Import django
Django.VERSION
I see latest version (0.96.1)
Any other ideas, short of going back to previous version documents?
(which doesn't *really* solve the problem)
Many Thanks
Liam
This is the proper solution when using the latest Django release. A
version of Django has not yet been released which uses max_length.
> Without using the documentation from previous version - what can I do
> to fix this?
The documentation found at http://www.djangoproject.com/documentation/0.96/
is the right version to refer to when using the latest release 0.96.1.
Matt
On Nov 13, 11:01 am, Matt McClanahan <matt.mcclana...@gmail.com>
wrote:
> On Nov 13, 12:38 am, mati...@gmail.com wrote:
>
> > I am stepping through Dajngo Tutorial (Part 1, to create polls
> > application) and get this error.
>
> > Unexpected keyword argument 'max length' when running "manage syncdb"
>
> > If I change it to "maxlength" it works:
>
> This is the proper solution when using the latest Django release. A
> version of Django has not yet been released which uses max_length.
>
> > Without using the documentation from previous version - what can I do
> > to fix this?
>
> The documentation found athttp://www.djangoproject.com/documentation/0.96/