Opened 8 years ago

Closed 8 years ago

#27178 closed Bug (duplicate)

ImageField when default provided in model, it's impossible to change the value.

Reported by: phonkee Owned by: Tim Graham
Component: Forms Version: 1.10
Severity: Release blocker Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Tim Graham)

When I set model with ImageField that has default value set, it's impossible to change this value.

class TestModel(models.Model):
    image = models.ImageField(default="default.jpg")

Now it's impossible to change the value from ModelForm's and/or admin.

Change History (5)

comment:1 by phonkee, 8 years ago

Description: modified (diff)

comment:2 by Tim Graham, 8 years ago

Component: UncategorizedForms
Description: modified (diff)
Severity: NormalRelease blocker
Triage Stage: UnreviewedAccepted

Regression in 1.10.1 caused by 4bc6b939944183533ae74791d21282e613f63a96.

comment:3 by Tim Graham, 8 years ago

Owner: changed from nobody to Tim Graham
Status: newassigned

comment:4 by Tim Graham, 8 years ago

Has patch: set

comment:5 by Tim Graham, 8 years ago

Resolution: duplicate
Status: assignedclosed

I retitled #27186 and am closing this as a duplicate since the patch is the same for both tickets.

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