Changeset 7574 for django/trunk/tests/modeltests
- Timestamp:
- 06/04/08 19:39:32 (3 months ago)
- Files:
-
- django/trunk/tests/modeltests/one_to_one/models.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/tests/modeltests/one_to_one/models.py
r7477 r7574 81 81 <Place: Ace Hardware the place> 82 82 83 # Set the place back again, using assignment in the reverse direction. Need to 84 # reload restaurant object first, because the reverse set can't update the 85 # existing restaurant instance 83 # Set the place back again, using assignment in the reverse direction. 86 84 >>> p1.restaurant = r 87 >>> r.save()88 85 >>> p1.restaurant 89 86 <Restaurant: Demon Dogs the restaurant>
