Hi,

I am building a simple parts database as a fun "learn django" project.
A "part" in my test application has a part number, description, etc
and can optionally be composed of other parts.  This sounded to me
like a good candidate for a self referring many to many relationship.

I got it coded and in the django admin, I can enter part number etc.
and multi-select from a list of other "part"s.  The problem is that if
I have a part that is composed of say an axle and two wheels (each of
which are also a part), I don't have a way in the admin to specify
that there are two wheels. I can only pick one, because only one
exists.  How do I specify that there are two wheels?  Is it possible
to do what I want with the many to many to self model?

Thanks in advance,
C


--~--~---------~--~----~------------~-------~--~----~
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