= CookBook - Data Models = [wiki:CookBookCategoryDataModelPostMagic A "category" data model] - for use in custom documents, weblog entries, etc. [wiki:ModifiedPreorderTreeTraversal An efficient parent/child relationship] - Similar to the "category" data model above, but doesn't use recursive functions, neither multiple queries. [wiki:UsingMarkup Using markup filters in models] - efficiently using Markdown, Textile, etc. in models [wiki:CookBookChoicesContantsClass A "Constants" class] - a neat trick to enhance the choices functionality [wiki:CookBookSplitModelsToFiles Splitting models to multiple files] - it is possible after all [wiki:CookBookPredicates Predicates] - or "3-tuples" or "semantically enriched many-to-many relationships". == Pre-Magic == The Pages in this section refer to older version of Django: [wiki:CookBookMultiLevelMultiComponentDataModel] - Multiple "levels" & multiple components [wiki:CookBookCategoryDataModel] - A "category" data model for use in custom documents, weblog entries, etc. [wiki:CookBookTreeStructure] - A tree DB system that is fast for insert, select and delete. Requires small change to django source. [wiki:CookBookLabels] - Labels/tags for any model with a single line in the model code.