Opened 9 years ago
Last modified 9 years ago
#27178 closed Bug
ImageField when default provided in model, it's impossible to change the value. — at Version 1
| 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 )
When I set model with ImageField that has default value set, it's impossible to change this value.
class TestModel(models.Model)
image = ImageField(default="default.jpg")
Now it's impossible to change the value from ModelForm's and/or admin.
Note:
See TracTickets
for help on using tickets.