title: References to code sample of complex django models and views
body: <p>Where can I find good code samples and best practices in building complex django model structure and (non-generic) views?  </p>
  
  <p>Tutorials usually comes with models and views with only one or two layers of models.  (e.g. Polls and Choices in Django tutorials)  I'm looking for code samples with hierarchy of models and best practices in building the views and controls in Django.  Any tips?  URLs?</p>
  
  <p>Let say I have two parent models A and B; A has child models C, D, E; B has child models F and G; model H reference (or FK) C and D; model I is child of D and reference G?  What's the approach to build the detail display view to show all these in a single html / template?</p>