Solved, for reference check 
http://blog.abiss.gr/mgogoulos/entry/many_to_many_relationships_and



On Sep 19, 5:39 pm, Markos Gogoulos <[EMAIL PROTECTED]> wrote:
> Hi Jerry
>
> this doen't work with ManyToManyField
>
> Exception
> <class '...'> has no ForeignKey to <class '...'>
>
> Regards
>
> On Sep 19, 4:48 pm, Jerry Stratton <[EMAIL PROTECTED]> wrote:
>
> > On Sep 19, 6:45 am, Jerry Stratton <[EMAIL PROTECTED]> wrote:
>
> > > class SoftwareInline(admin.StackedInline):
> > >         model = Software
>
> > > class CategoryAdmin(admin.ModelAdmin):
> > >         inlines = [SoftwareInline]
>
> > Edit: shouldn't post before caffeine. The above might work, but I
> > don't know if it does; I used it yesterday with a ForeignKey, not a
> > ManyToManyField.
>
> > Jerry
>
>
--~--~---------~--~----~------------~-------~--~----~
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