Changes between Version 15 and Version 16 of CookBookCategoryDataModel
- Timestamp:
- Jan 27, 2007, 2:32:09 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBookCategoryDataModel
v15 v16 5 5 == Description == 6 6 I like to have parent/child categories for my documents and weblog entries. I also am a fan of simplicity. This recipe lets you create new categories, and children of categories while providing an intuitively obvious presentation to the user. A parent category of 'Development' with a child category of 'Python' will be displayed as 'Development :: Python'. Using that example, other data models/content types that utilize this code will have drop-downs in the admin interface with entries of 'Development' and 'Development :: Python' 7 8 ''' Note: the code below is somewhat out of date. {{{meta}}} should be replaced with {{{models}}}, for starters... ''' 7 9 8 10 == Code ==