Code

Changes between Version 3 and Version 4 of CookBookMultiLevelMultiComponentDataModel


Ignore:
Timestamp:
08/04/05 13:48:07 (9 years ago)
Author:
oubiwann
Comment:

formatting and typo in ForeignKey

Legend:

Unmodified
Added
Removed
Modified
  • CookBookMultiLevelMultiComponentDataModel

    v3 v4  
    2020class Paragraph(meta.Model): 
    2121    fields = ( 
    22         meta.ForeignKey(Document, edit_inline=True, num_in_admin=3, num_extra_on_change=1),), 
     22        meta.ForeignKey( 
     23            Document,  
     24            edit_inline=True,  
     25            num_in_admin=3,  
     26            num_extra_on_change=1 
     27        ), 
    2328        meta.TextField('content'), 
    2429    )