Changes between Version 1 and Version 2 of CookBookPredicates
- Timestamp:
- Jun 21, 2006, 9:33:20 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBookPredicates
v1 v2 1 == in progress == 1 The straight-forward way to do this with a relational database is to create an intermediary table (as Django does automatically with ManyToManyField) and then add fields to that table. Setting up this structure in Django is also straight-forward, but it took some work for me to find the right Field arguments to make it all work as I'd like on the admin side. Here's how I did it: 2 2 3 3 {{{ … … 20 20 class Admin: pass 21 21 }}} 22