Ticket #4175: db-api.txt.patch

File db-api.txt.patch, 554 bytes (added by Matt McClanahan <cardinal@…>, 18 years ago)
  • docs/db-api.txt

     
    112112    b4 = Blog(id=3, name='Not Cheddar', tagline='Anything but cheese.')
    113113    b4.save()  # Overrides the previous blog with ID=3!
    114114
    115 See _`How Django knows to UPDATE vs. INSERT`, below, for the reason this
     115See `How Django knows to UPDATE vs. INSERT`_, below, for the reason this
    116116happens.
    117117
    118118Explicitly specifying auto-primary-key values is mostly useful for bulk-saving
Back to Top