Re: [Django] #9341: Adding a completely new item via raw_id_fields overwrites contents of the many-to-many field

2009-02-26 Thread Django
#9341: Adding a completely new item via raw_id_fields overwrites contents of the
many-to-many field
---+
  Reporter:  dhanc...@arinc.com| Owner:  nobody 
   
Status:  new   | Milestone:  1.1
   
 Component:  django.contrib.admin  |   Version:  1.0
   
Resolution:|  Keywords:  raw_id_fields 
many-to-many
 Stage:  Accepted  | Has_patch:  0  
   
Needs_docs:  0 |   Needs_tests:  0  
   
Needs_better_patch:  0 |  
---+
Changes (by jacob):

  * stage:  Unreviewed => Accepted
  * 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
-~--~~~~--~~--~--~---



Re: [Django] #9341: Adding a completely new item via raw_id_fields overwrites contents of the many-to-many field

2009-01-26 Thread Django
#9341: Adding a completely new item via raw_id_fields overwrites contents of the
many-to-many field
---+
  Reporter:  dhanc...@arinc.com| Owner:  nobody 
   
Status:  new   | Milestone: 
   
 Component:  django.contrib.admin  |   Version:  1.0
   
Resolution:|  Keywords:  raw_id_fields 
many-to-many
 Stage:  Unreviewed| Has_patch:  0  
   
Needs_docs:  0 |   Needs_tests:  0  
   
Needs_better_patch:  0 |  
---+
Comment (by kmtracey):

 #10131 reports this again, and has a patch.

-- 
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] #9341: Adding a completely new item via raw_id_fields overwrites contents of the many-to-many field

2008-10-29 Thread Django
#9341: Adding a completely new item via raw_id_fields overwrites contents of the
many-to-many field
---+
  Reporter:  [EMAIL PROTECTED]| Owner:  nobody  
  
Status:  new   | Milestone: 
   
 Component:  django.contrib.admin  |   Version:  1.0
   
Resolution:|  Keywords:  raw_id_fields 
many-to-many
 Stage:  Unreviewed| Has_patch:  0  
   
Needs_docs:  0 |   Needs_tests:  0  
   
Needs_better_patch:  0 |  
---+
Changes (by [EMAIL PROTECTED]):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 This feature is working. I'll give an example based on my code.

 I have a '''ManyToMany''' field with a defined '''through''' model class.
 It has a tabular Inline admin class using raw_id_fields. I see a separate
 form field for each relationship, as the primary key.

 Next to every field is a magnifying glass to search and choose a primary
 key. The pop-up window looks like the admin change-list page. A click on a
 change-list item sets, or replaces, the raw id in the field.

 In order to add '''more''' raw ids, the Inline admin class needs an
 '''extras=1''', or more, attribute. That '''extras=N''' is probably all
 that's wrong.

-- 
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #9341: Adding a completely new item via raw_id_fields overwrites contents of the many-to-many field

2008-10-10 Thread Django
#9341: Adding a completely new item via raw_id_fields overwrites contents of the
many-to-many field
+---
 Reporter:  [EMAIL PROTECTED]  |   Owner:  nobody
   Status:  new |   Milestone:
Component:  django.contrib.admin| Version:  1.0   
 Keywords:  raw_id_fields many-to-many  |   Stage:  Unreviewed
Has_patch:  0   |  
+---
 Steps to reproduce:

 {{{
 Define a many-to-many field, use raw_id_fields for the admin.
 Populate the field in the admin with one or more IDs.
 In the admin, click its magnifying glass.
 Click Add on the index page, and add one.
 Click Save.
 }}}

 You're automatically returned to the admin page with ONLY the new ID
 showing up in the field. This behavior is great for most foreign keys, but
 for many-to-many fields, it risks losing previous entries.

-- 
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---