Hello Karen, First of all, I really would like to thank you for helping me solve this issue. Your fix (downloaded from http://code.djangoproject.com/changeset/9778?format=zip&new=9778) was perfect and my form is working again, but now with a final release (1.0.2) instead of a development one (svn 0.97)
I am happy django community have smart and helpful developers to make this framework better everyday Att Thiago On Jan 19, 5:45 pm, "Karen Tracey" <kmtra...@gmail.com> wrote: > On Mon, Jan 19, 2009 at 1:54 PM, Karen Tracey <kmtra...@gmail.com> wrote: > > On Mon, Jan 19, 2009 at 12:04 PM, Thiago F. Crepaldi > > <togn...@gmail.com>wrote: > > >> hello Karen, > > >> below is the code required. I hope you can help me =) > > > In the future, please post code of that length/width to someplace like > > dpaste.com; email makes it quite hard to read given how it gets wrapped. > > > I think what is happening is you have added a field to your model form that > > has a name that matches a related object accessor for the model (that is, > > you have added a field with a name that matches that of a model that has a > > ForeignKey that points to your Feature model). I've recreated the error > > with a much simpler model form based on the tutorial's Poll model: > > >http://code.djangoproject.com/ticket/10069 > > > I thought the fix was easy but a quick run of Django's model_forms test > > shows that the quick fix I was thinking of breaks something else, and I'm > > running out of time to look at this today, so it may be a little while > > before a fix goes in. In the meantime if you can identify the additional > > field(s) that may be causing the problem in your form, renaming them to > > something that doesn't exactly match the related model name(s) should work > > as a temporary workaround. > > Actually the fix was simple, I just didn't spell it properly first time > around. Fix is now in trunk and current 1.0.X branch so if you update to > one of those levels I think the problem will go away. > > 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 -~----------~----~----~----~------~----~------~--~---