Changes between Version 3 and Version 4 of CookBookMultiLevelMultiComponentDataModel


Ignore:
Timestamp:
Aug 4, 2005, 3:48:07 PM (19 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    )
Back to Top