On Mon, Apr 20, 2009 at 11:03 AM, Alex Gaynor <alex.gay...@gmail.com> wrote:

> On Mon, Apr 20, 2009 at 7:18 AM, chewynougat <
> peter_i_campb...@hotmail.co.uk> wrote:
>
>>
>> We have recently upgraded django to 1.0.2 but this has subsequently
>> broken some inlineformsets we have. I'm not sure if this is a django
>> bug or if it is an error in our code, although the code pretty much
>> reflects that in the SVN documentation. Any help on this issue would
>> be much appreciated, in the meantime, I shall keep digging! Traceback
>> is as follows:
>>
>> Traceback (most recent call last):
>>
>> [snip]
>>  File "/usr/lib/python2.4/site-packages/django/forms/models.py", line
>> 494, in add_fields
>>   form.fields[self.fk.name] = InlineForeignKeyField(self.instance,
>> label=form.fields[self.fk.name].label)
>>
>> KeyError: 'activity'
>>
>> Cardiovascular object is an fk to Activity object.
>>
>> Thanks again,
>>
>> Pete
>>
>>
> This is a bug that was fixed in the 1.0.X branch, and will be a part of the
> 1.0.3 release.  I can't remember the bug number right now unfortunately.
>

I'd guess it was #9863:

http://code.djangoproject.com/ticket/9863

Trying with a checkout of the 1.0.X branch would confirm.

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