#18491: When deleting a proxy model, the admin does not show warning about 
cascade
delete for object with foreign key on the proxied model
-------------------------------+--------------------
     Reporter:  bdauvergne@…   |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  contrib.admin  |    Version:  1.4
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 Suppose this

 {{{
 class A(Model):
    pass

 class ProxyA(A):
    class Meta:
       proxy = True

 class B(Model):
    a = ForeignKey(A)
 }}}

 If you expose ProxyA in the admin/ and try to delete an instance which has
 linked B objects, there will be no warning about the cascading delete.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18491>
Django <https://code.djangoproject.com/>
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.

Reply via email to