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
> has no ForeignKey to
>
> Regards
>
> On Sep 19, 4:48 pm, Jerry S
Hi Jerry
this doen't work with ManyToManyField
Exception
has no ForeignKey to
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
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
On Sep 19, 5:09 am, Markos Gogoulos <[EMAIL PROTECTED]> wrote:
> on the admin panel I am trying to display both models of an
> ManyToManyField relationship. Say for example there are these two
> models:
>
> class Software(models.Model):
> name = models.CharField(max_length=50)
> categories
Hi there,
on the admin panel I am trying to display both models of an
ManyToManyField relationship. Say for example there are these two
models:
class Software(models.Model):
name = models.CharField(max_length=50)
categories = models.ManyToManyField(Category)
class Category(models.Model)
5 matches
Mail list logo