Changes between Version 1 and Version 2 of Ticket #28268, comment 2
- Timestamp:
- Jun 3, 2017, 12:01:40 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28268, comment 2
v1 v2 31 31 32 32 >>> model.related_count() 33 1 # calls first time 33 1 # calls first time, because rel added 34 34 >>> model.related_count() 35 35 1 # does not call … … 51 51 >>> rel.delete() 52 52 >>> model.related_count() 53 0 # calls, because rel ated modelremoved53 0 # calls, because rel removed 54 54 >>> model.related_content() 55 55 # calls, return nothing