- Timestamp:
- 08/02/08 22:03:46 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/tests/regressiontests/many_to_one_regress/models.py
r8185 r8198 85 85 True 86 86 87 # bestchild should still be None after saving. 88 >>> p.save() 89 >>> p.bestchild is None 90 True 91 92 # bestchild should still be None after fetching the object again. 93 >>> p = Parent.objects.get(name="Parent") 94 >>> p.bestchild is None 95 True 96 87 97 # Assigning None fails: Child.parent is null=False. 88 98 >>> c.parent = None
