Re: __init__() got an unexpected keyword argument 'raw_id_admin'

2009-07-16 Thread onoxo
that's it tnx! On Jul 16, 1:42 pm, Karen Tracey wrote: > On Thu, Jul 16, 2009 at 7:04 AM, onoxo wrote: > > > Hi! > > i'm having problem with raw_id_admin argument in aplication from the > > djangoproject tutorial. only difference from orginal app is in the > > raw_id_admin in Choice model > > r

Re: __init__() got an unexpected keyword argument 'raw_id_admin'

2009-07-16 Thread Karen Tracey
On Thu, Jul 16, 2009 at 7:04 AM, onoxo wrote: > > Hi! > i'm having problem with raw_id_admin argument in aplication from the > djangoproject tutorial. only difference from orginal app is in the > raw_id_admin in Choice model > raw_id_admin was a model field argument in Django pre-1.0 time. It i

__init__() got an unexpected keyword argument 'raw_id_admin'

2009-07-16 Thread onoxo
10, in Choice poll = models.ForeignKey(Poll, raw_id_admin=True) File "/Library/Python/2.5/site-packages/django/db/models/fields/ related.py", line 644, in __init__ Field.__init__(self, **kwargs) TypeError: __init__() got an unexpected keyword argument 'raw_id_admin' t