Changes between Initial Version and Version 1 of Ticket #19385, comment 12
- Timestamp:
- 12/28/12 23:54:16 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19385, comment 12
initial v1 1 Nice..... I like the field being able to explain the path no matter how many table jumps it has. Is there a reason we do 'if hasattr(field, 'get_path_info'):' instead of 'if is subclass(field, RelatedField)' though?1 Nice..... I like the field being able to explain the path no matter how many table jumps it has. Is there a reason we do 'if hasattr(field, 'get_path_info'):' instead of 'if isinstance(field, RelatedField)' though?