Changes between Initial Version and Version 17 of Ticket #10244


Ignore:
Timestamp:
Feb 1, 2021, 9:04:58 AM (4 years ago)
Author:
Raffaele Salmaso
Comment:

Hi all, what is the status of this ticket? FileField behaviour is not really clear right now and flake8-django just made a change to allow FileField(null=True) (see https://github.com/rocioar/flake8-django/issues/82), which seems wrong to me.

I'm for option 2 make FileField behave exactly like CharField wrt. null.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10244

    • Property Triage Stage UnreviewedAccepted
    • Property Component UncategorizedDatabase layer (models, ORM)
    • Property SeverityNormal
    • Property TypeBug
    • Property Easy pickings unset
    • Property UI/UX unset
    • Property Has patch set
    • Property Needs documentation set
    • Property Needs tests set
  • Ticket #10244 – Description

    initial v17  
    1 Saving FileFields with a none value sets the field to a empty string in the db and not NULL as it should.
     1Hi,
Back to Top