Re: [Django] #11296: Delete confirmation page in Admin displays circular references.

2012-03-22 Thread Django
#11296: Delete confirmation page in Admin displays circular references.
---+
 Reporter:  benreynwar |Owner:  carljm
 Type:  Uncategorized  |   Status:  closed
Component:  contrib.admin  |  Version:  1.0
 Severity:  Normal |   Resolution:  fixed
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by anonymous):

 * ui_ux:   => 0
 * type:   => Uncategorized
 * severity:   => Normal
 * easy:   => 0


-- 
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] #11296: Delete confirmation page in Admin displays circular references.

2010-01-14 Thread Django
#11296: Delete confirmation page in Admin displays circular references.
---+
  Reporter:  benreynwar| Owner:  carljm
Status:  new   | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  1.0   
Resolution:|  Keywords:
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by carljm):

  * needs_better_patch:  1 => 0
  * milestone:  => 1.2

Comment:

 This is fixed in the latest patch on #6191.

-- 
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-upda...@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] #11296: Delete confirmation page in Admin displays circular references.

2010-01-10 Thread Django
#11296: Delete confirmation page in Admin displays circular references.
---+
  Reporter:  benreynwar| Owner:  carljm
Status:  new   | Milestone:
 Component:  django.contrib.admin  |   Version:  1.0   
Resolution:|  Keywords:
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Comment (by carljm):

 I'm exploring a possible solution for this as part of the fix for #6191.

-- 
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-upda...@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] #11296: Delete confirmation page in Admin displays circular references.

2010-01-10 Thread Django
#11296: Delete confirmation page in Admin displays circular references.
---+
  Reporter:  benreynwar| Owner:  carljm
Status:  new   | Milestone:
 Component:  django.contrib.admin  |   Version:  1.0   
Resolution:|  Keywords:
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Changes (by carljm):

  * owner:  nobody => carljm

-- 
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-upda...@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] #11296: Delete confirmation page in Admin displays circular references.

2009-11-01 Thread Django
#11296: Delete confirmation page in Admin displays circular references.
---+
  Reporter:  benreynwar| Owner:  nobody
Status:  new   | Milestone:
 Component:  django.contrib.admin  |   Version:  1.0   
Resolution:|  Keywords:
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Changes (by Alex):

  * needs_better_patch:  0 => 1

Comment:

 This patch still has a mutable default value, which means that the deleted
 objects will essentially be cached across calls.

-- 
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] #11296: Delete confirmation page in Admin displays circular references.

2009-11-01 Thread Django
#11296: Delete confirmation page in Admin displays circular references.
---+
  Reporter:  benreynwar| Owner:  nobody
Status:  new   | Milestone:
 Component:  django.contrib.admin  |   Version:  1.0   
Resolution:|  Keywords:
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by bendavis78):

  * needs_better_patch:  1 => 0

Comment:

 The original object being deleted should also not be recursed into.  This
 can be easily fixed by adding it to the seen_opts variable at the
 beginning of the function (as seen in updated patch):

 {{{
 @@ -85,7 +85,7 @@
  nh = _nest_help # Bind to local variable for performance
  if current_depth > 16:
  return # Avoid recursing too deep.
 -opts_seen = []
 +opts_seen += [obj._meta]
  for related in opts.get_all_related_objects():
  has_admin = related.model in admin_site._registry
  if related.opts in opts_seen:

 }}}

-- 
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] #11296: Delete confirmation page in Admin displays circular references.

2009-06-10 Thread Django
#11296: Delete confirmation page in Admin displays circular references.
---+
  Reporter:  benreynwar| Owner:  nobody
Status:  new   | Milestone:
 Component:  django.contrib.admin  |   Version:  1.0   
Resolution:|  Keywords:
 Stage:  Unreviewed| Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  1 |  
---+
Changes (by Alex):

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

-- 
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] #11296: Delete confirmation page in Admin displays circular references.

2009-06-10 Thread Django
#11296: Delete confirmation page in Admin displays circular references.
--+-
 Reporter:  benreynwar|   Owner:  nobody
   Status:  new   |   Milestone:
Component:  django.contrib.admin  | Version:  1.0   
 Keywords:|   Stage:  Unreviewed
Has_patch:  1 |  
--+-
 A very minor bug, but also I think easy to fix.  The current delete
 confirmation page in the admin application will display the same object
 multiple times if there are circular references. e.g. If we have two
 objects that reference each other with foreign keys then the list of
 dependent objects to be deleted that is displayed would be-[[BR]]

 {{{
 -object1
 -object2
 -object1
 -object2
 etc.
 }}}

 I think it would be better if it only displayed the first object1 and
 object2.
 I have attached a small patch that appears to do this.

-- 
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
-~--~~~~--~~--~--~---