Opened 8 years ago

Closed 8 years ago

#27208 closed Bug (duplicate)

It does not work when using the download image ImageField via Admin since Django 1.10.1

Reported by: Aleksey Evtifiev Owned by: nobody
Component: Forms Version: 1.10
Severity: Normal Keywords: ImageField
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Do not download pictures in the folder is registered in the model. The database does not store the path. This problem is observed only in version 1.10.1, with an installed library Pillow 3.3.1. In Django version 1.10 works.

Change History (3)

comment:1 by Simon Charette, 8 years ago

I suppose it's related or a duplicate of #27178. Do you have a default value for your ImageField?

Version 0, edited 8 years ago by Simon Charette (next)

comment:2 by Aleksey Evtifiev, 8 years ago

The default value is not set.

banner = models.ImageField(
        upload_to='media/actions',
        default='',
        verbose_name='Actions banner',
        help_text="View banner actions page",
        blank=True
    )

comment:3 by Tim Graham, 8 years ago

Component: File uploads/storageForms
Resolution: duplicate
Status: newclosed

default='' is still a default. Please reopen if my patch for #27178 doesn't solve your issue.

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