Code

Changes between Version 1 and Version 2 of CookBookPredicates


Ignore:
Timestamp:
06/21/06 19:33:20 (8 years ago)
Author:
Joshua Tacoma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBookPredicates

    v1 v2  
    1 == in progress == 
     1The 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: 
    22 
    33{{{ 
     
    2020    class Admin: pass 
    2121}}} 
     22