Changes between Initial Version and Version 1 of Ticket #10074
- Timestamp:
- Jan 20, 2009, 2:11:23 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10074 – Description
initial v1 1 Models with GenericRelation fields defined as:1 Models with !GenericRelation fields defined as: 2 2 3 {{{ 3 4 the_relation = generic.GenericRelation('Related') 5 }}} 4 6 5 7 produce objects that cannot be deleted: 6 8 9 {{{ 7 10 >>> obj.delete() 8 11 Traceback (most recent call last): … … 15 18 field = f.rel.to._meta.get_field(f.content_type_field_name) 16 19 AttributeError: 'str' object has no attribute '_meta' 20 }}}