Ticket #10145: queryset-create-doc.diff

File queryset-create-doc.diff, 551 bytes (added by jgeiger, 16 years ago)
  • docs/ref/models/relations.txt

     
    4242        ....     body_text='Hi',
    4343        ....     pub_date=datetime.date(2005, 1, 1)
    4444        .... )
    45         >>> e.save()
     45        >>> e.save(force_insert=True)
    4646
    4747    Note that there's no need to specify the keyword argument of the model that
    4848    defines the relationship. In the above example, we don't pass the parameter
Back to Top