Opened 9 years ago

Closed 9 years ago

#12548 closed (duplicate)

Delete FileField content in Admin

Reported by: Fugazi Owned by: nobody
Component: contrib.admin Version: 1.1
Severity: Keywords: FileField delete button
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no



This is my model:

class Company(models.Model):
    site = models.ForeignKey(Site, unique=True)
    presentation = models.TextField(max_length=250)
    phone_number = models.CharField(max_length=15, verbose_name="numéro de téléphone", blank=True)
    address = models.TextField(max_length=100, verbose_name="adresse", blank=True)
    presentation_movie = models.FileField(upload_to='movies', blank=True)

A delete button would be useful beside FileField in Admin (when blank=True) to delete FileField content without delete all class instance.



Change History (1)

comment:1 Changed 9 years ago by Karen Tracey

Resolution: duplicate
Status: newclosed

This is the same request as #7048.

Note: See TracTickets for help on using tickets.
Back to Top