Re: [Django] #10698: Admin code overwrites property of models in inlineformsets

2009-05-04 Thread Django
#10698: Admin code overwrites property of models in inlineformsets
---+
  Reporter:  mk| Owner:  nobody
Status:  closed| Milestone:  1.1   
 Component:  django.contrib.admin  |   Version:  SVN   
Resolution:  duplicate |  Keywords:
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by mk):

  * status:  new => closed
  * resolution:  => duplicate

Comment:

 Duplicate of #9362, fixed in [10667]

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #10698: Admin code overwrites property of models in inlineformsets

2009-04-02 Thread Django
#10698: Admin code overwrites property of models in inlineformsets
---+
  Reporter:  mk| Owner:  nobody
Status:  new   | Milestone:  1.1   
 Component:  django.contrib.admin  |   Version:  SVN   
Resolution:|  Keywords:
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by jacob):

  * needs_better_patch:  => 0
  * needs_docs:  => 0
  * stage:  Unreviewed => Accepted
  * needs_tests:  => 0
  * milestone:  => 1.1

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #10698: Admin code overwrites property of models in inlineformsets

2009-04-02 Thread Django
#10698: Admin code overwrites property of models in inlineformsets
--+-
 Reporter:  mk|   Owner:  nobody
   Status:  new   |   Milestone:
Component:  django.contrib.admin  | Version:  SVN   
 Keywords:|   Stage:  Unreviewed
Has_patch:  1 |  
--+-
 In InlineAdminForm, original is used to display the object that is being
 edited in an inline formset. To be able to redirect the user to the
 location given by original.get_absolute_url, the content type ID of
 original is determined and stored as an attribute on original. If original
 itself already had a content_type field however, the value of this field
 is overwritten. If original.content_object is accessed, and object of
 class original.__class__ is returned (or None) instead of the correct
 type

 The attached patch does not really fix this behavior, because we still
 overwrite values on original, but admin_helpers_content_type_id is (much)
 less likely to be used than content_type_id

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---