#13900: New admin feature: Delete and replace with existing ocject ----------------------------------+----------------------------------------- Reporter: riccardodivirgilio | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: 1.2 Keywords: | Stage: Unreviewed Has_patch: 0 | Needs_docs: 0 Needs_tests: 0 | Needs_better_patch: 0 ----------------------------------+----------------------------------------- i would like to edit django.contrib.admin.options.ModelAdmin.delete_view and add a helpful feature.
Instead of deleting all the nested objects, the delete_view could handle 3 options: 1. delete all the related objects (current option)[[BR]] 2. where the foreign key to the current instance is nullable, null or delete[[BR]] 3. replace all the related objects with an other model instance (we can make a user choose it with a forms.ModelChoiceField)[[BR]] i really would like to contribute to this feature, because i need to do this in my admin site, but i'm new, so please help me :) bye bye about me: i'm riccardo di virgilio, i have programmed sprint24.com with django. i have learn a lot of things and i think i'm ready to contribute. -- Ticket URL: <http://code.djangoproject.com/ticket/13900> Django <http://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-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.