The model I'm using is very similar to that of Satchmo's

Model basically looks like this:

class Product(models.Model):
        name = models.CharField(_("Full Name"), max_length=255, blank=False,
        slug = models.SlugField(_("Slug Name"), blank=True,
        related_items = models.ManyToManyField('self', blank=True, null=True,
verbose_name=_('Related Items'), related_name='related_products')


David Reynolds wrote:
> On 11 Sep 2008, at 10:06 am, MikeHowarth wrote:
>
> > Could anyone clarify what I need to do be doing to acheive the desired
> > filtering?
>
> Can we see your model too?
>
> Although, I note satchmo do a similar thing:
>
> http://www.satchmoproject.com/trac/browser/satchmo/trunk/satchmo/
> product/models.py#L458
>
> --
> David Reynolds
> [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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