djangosnippets.org: Latest snippets tagged with 'django-dag'http://djangosnippets.org/tags/django-dag/2011-08-03T11:08:42.217293-05:00models.py with django_dag models for parts hierarchy
2011-08-03T11:08:42.217293-05:00j_sykhttp://djangosnippets.org/snippets/2502/<p>This is a portion of my code for creating a hierarchical relation between assemblies, subparts, and parts and so forth (although really, everything is a Part)</p>
<p>The project being used is <a href="https://github.com/elpaso/django-dag">django_dag</a></p>
<p>For the sake of example, let's use this structure:</p>
<ul>
<li>Bike 1</li>
<li>
<ul>
<li>Front Tire & Back Tire combo 000 …</li></ul></li></ul>
Freely redistributable