On Sun, Sep 14, 2008 at 8:31 PM, djandrow <[EMAIL PROTECTED]> wrote: > > I'm currently using django Version: 1.0-final-SVN-9020 and python > Version: 2.4.4, a few weeks ago (maybe a bit longer) I had to change > all my maxlengths to max_length, as I believe that was a change in > Django. > > Anyway now when i try and use manage.py validate I get: > > __init__() got an unexpected keyword argument 'max_length' > > however if i call parts of the model from the templates they work > fine. > > So my question is what is going on? and what should i be using?
max_length is definitely the correct version. If you are getting errors, you either have an old version of Django in your PYTHONPATH, or the error that is being thrown by something other than a field validation. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---