This is another incompatible change: older versions used "maxlength".

Have you examined

  http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges

This is there to help with situation like yours.

regards
 Steve

David wrote:
> Thank you Karen.
>
> I've gotten a little further on this, here is my new error after
> downgrading to 0.96.3:
>
> [EMAIL PROTECTED]:/usr/local/surftrackr# ./manage.py syncdb
> Error: Couldn't install apps, because there were errors in one or more
> models:
> surftrackr.httpauth: __init__() got an unexpected keyword argument
> 'max_length'
> surftrackr.log: __init__() got an unexpected keyword argument
> 'max_length'
> surftrackr.wordsearch: __init__() got an unexpected keyword argument
> 'max_length'
> surftrackr.trackr: __init__() got an unexpected keyword argument
> 'max_length'
> surftrackr.preferences: __init__() got an unexpected keyword argument
> 'max_length'
>
>
>
> On Oct 14, 11:25 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
>   
>> On Wed, Oct 15, 2008 at 1:20 AM, David <[EMAIL PROTECTED]> wrote:
>>
>>     
>>> Hello,
>>>       
>>> I'm not a python programmer, this is the first time I've ever worked
>>> with a python app.  I'm trying to install "Surftrackr" for my company
>>> and I have a problem.  I have searched and can not find any clear
>>> answers.
>>>       
>>> I have the installed the latest svn of Django. (I started out with the
>>> released tarball)  This is the error I get:
>>>       
>>> [EMAIL PROTECTED]:/usr/local/surftrackr# ./manage.py syncdb
>>> [snipped]
>>>       
>>    workstation           = models.ManyToManyField(Workstation,> null=True, 
>> blank=True, filter_interface=True)
>>     
>>>  File "/usr/lib/python2.5/site-packages/django/db/models/fields/
>>> related.py", line 759, in __init__
>>>    Field.__init__(self, **kwargs)
>>> TypeError: __init__() got an unexpected keyword argument
>>> 'filter_interface'
>>>       
>>> Can someone please help me with this?
>>>       
>> This "Surftrackr"is apparently coded to an earlier version of Django than
>> 1.0.  This specific error is related to a larger change in the way admin
>> definitions are done, see:
>>
>> http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Moved...
>>
>> Ideally you'd want to get a version of this app from its makers that has
>> been migrated to Django 1.0, but from a brief look 
>> athttp://surftrackr.net/blog/index/they call their March 26, 2008 release
>> "probably final" so it sounds like they are no longer maintaining it.  The
>> "About" page lists an email address for the owner, though, so you could try
>> that and see if there are any plans to make it compatible with 1.0.
>>
>> Django 0.96.3 is still available from the download page, so you could try
>> installing this app on that level.  I'd really hesitate to do any
>> development of new code on that old level, though.
>>
>> Karen
>>     
> >
>
>   



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to