Opened 8 years ago

Last modified 8 years ago

#27178 closed Bug

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

Reported by: phonkee Owned by: nobody
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 (2)

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.

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