Changes between Initial Version and Version 1 of Ticket #10074


Ignore:
Timestamp:
Jan 20, 2009, 2:11:23 AM (16 years ago)
Author:
Ramiro Morales
Comment:

(edited description)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10074 – Description

    initial v1  
    1 Models with GenericRelation fields defined as:
     1Models with !GenericRelation fields defined as:
    22
     3{{{
    34the_relation = generic.GenericRelation('Related')
     5}}}
    46
    57produce objects that cannot be deleted:
    68
     9{{{
    710>>> obj.delete()
    811Traceback (most recent call last):
     
    1518    field = f.rel.to._meta.get_field(f.content_type_field_name)
    1619AttributeError: 'str' object has no attribute '_meta'
     20}}}
Back to Top