Ticket #10145: queryset-create-doc.diff
File queryset-create-doc.diff, 551 bytes (added by , 16 years ago) |
---|
-
docs/ref/models/relations.txt
42 42 .... body_text='Hi', 43 43 .... pub_date=datetime.date(2005, 1, 1) 44 44 .... ) 45 >>> e.save( )45 >>> e.save(force_insert=True) 46 46 47 47 Note that there's no need to specify the keyword argument of the model that 48 48 defines the relationship. In the above example, we don't pass the parameter