= CookBook - Data Models = [wiki:CookBookMultiLevelMultiComponentDataModel Multiple "levels" & multiple components] [wiki:CookBookCategoryDataModel A "category" data model] - for use in custom documents, weblog entries, etc. [wiki:CookBookCategoryDataModelPostMagic A "category" data model (Post Magic)] - Same as the "category" data model above, but with updated code for the magic-removal trunk. [wiki:ModifiedPreorderTreeTraversal An efficient parent/child relationship] - Similar to the "category" data model above, but doesn't use recursive functions, neither multiple queries. [wiki:CookBookTreeStructure] A tree DB system that is fast for insert, select and delete. Requires small change to django source. [wiki:ModelInheritance Model Inheritance] [wiki:UsingMarkup Using markup filters in models] - efficiently using Markdown, Textile, etc. in models [wiki:CookBookLabels Labels/tags] for any model with a single line in the model code. [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".