Re: inlineformset_factory and many-to-many relationships

2011-04-27 Thread Kenny Meyer
Hi Rosemarie, Try a quick google search with terms like "django has no ForeignKey to " and you'll get a bunch of results. I promise. Here's only one of those results: http://stackoverflow.com/questions/609556/django-admin-inlining-foreign-key-issue AFAICS this issue has been discussed various t

Re: inlineformset_factory and many-to-many relationships

2011-04-27 Thread Rosemarie
ahh, and class MemberForm(ModelForm): class Meta: model = member exclude = ('password','date_joined','username','is_staff','is_active','last_login','is_superuser','firstAid') it has the class Meta: that's not the problem. Sorry, I'm all over the place here! -- You received this

Re: inlineformset_factory and many-to-many relationships

2011-04-27 Thread Rosemarie
Oh yeah, and the exact error I am currently getting is Exception at /members/edit/ has no ForeignKey to -- 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 thi

inlineformset_factory and many-to-many relationships

2011-04-27 Thread Rosemarie
ahh, feeling very frustrated, hopefully someone can enlighten me :) -Creating a form to edit a "member" model -Member has a few many-to-many relationships. -I was initially getting an error about not being able to update m2m unless you use the manager for the other table -After googling, I found i