Opened 9 years ago
Closed 9 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 )
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 , 9 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 9 years ago
| Component: | Uncategorized → Forms |
|---|---|
| Description: | modified (diff) |
| Severity: | Normal → Release blocker |
| Triage Stage: | Unreviewed → Accepted |
comment:3 by , 9 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:5 by , 9 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | assigned → closed |
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.
Regression in 1.10.1 caused by 4bc6b939944183533ae74791d21282e613f63a96.