#31201: Atomic Transaction Roll Back File Upload ---------------------------------------------+------------------------ Reporter: Yash Jhunjhunwala | Owner: nobody Type: Bug | Status: new Component: Uncategorized | Version: 2.2 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | ---------------------------------------------+------------------------ For a Model A with FileField
{{{ Model A(models.Model) file_field = models.FileField() }}} Save an instance of model A under a transaction block, If the transaction fails i.e not committed/rollback , the uploaded file is not deleted, even though the instance of the model is not saved -- Ticket URL: <https://code.djangoproject.com/ticket/31201> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/046.63e7079f40c0e62968edda9e3c416b2b%40djangoproject.com.